Reputation: 12352
I want to create a simple HTML file
/content/1.html
in the author instance in the aem server and publish it. How should I publish it - either through the UI or command-line is fine?
Upvotes: 1
Views: 1033
Reputation: 13
Simplest ways are already mentioned above but i am mentioning one more way . check it out if you are more comfortable with it.
You can replicate it or publish your file using Package manager. 1.Goto http://localhost:4502/crx/packmgr 2.Goto your package[/content/1.html] and edit it. 3.Save it and choose the replicate option under the more tab.
Upvotes: 0
Reputation: 2601
Two options for easier, to handle from browser itself,
1) Go to tree activation page and select the page path which you want to activate and click on the Activate button use the check boxes ( Only Modified, Only Activated, Ignore Deactivated) according to your need,
2) Go to crx/de console select the page that you want to activate under the content node. use the right side Replication Tab Replicate
button to replicate the node.
Note that when using this node level replicate action you need to activate all the child/individual nodes that are required to your page content.
There are several other ways of doing replication by code, CURL, etc. as which one to use depends on your comfort levels.
Upvotes: 3