Expand my Community achievements bar.

CORAL-UI - Publish Action -- cq.wcm.publish

Avatar

Former Community Member

Hi All,

I am new to CORAL-UI(touch-UI) and need small help on publish the record using "cq.wcm.publilsh".

The path is  : /libs/wcm/core/content/sites/jcr:content/body/content/header/items/selection/items/publish/items/now

The "now" node properties are:

   action : cq.wcm.publish

how the record is publishing and where to find this action(which js the action contains).

i would appreciate if some one respond asap.

 

Thanks in advance.

 

Thanks,

Nani.

5 Replies

Avatar

Level 10

The AEM docs are very detailed on how to publish pages https://docs.adobe.com/docs/en/aem/6-2/author/page-authoring/publishing-pages.html. Hope that helps.

Avatar

Level 10

Hi Nani,

In AEM, you can publish only the pages not the nodes. You have to use the packages(through package manager) to move nodes.

As Scott stated above, refer the AEM docs that tells in detail about how to publish pages: https://docs.adobe.com/docs/en/aem/6-2/author/page-authoring/publishing-pages.html.

Hope this Helps!

Thanks.
Ratna Kumar.

Avatar

Former Community Member

actually my requirement is how below actions are triggering i mean which js it is triggering.

site console actions from the touch ui:

     cq.wcm.publish  -- for publish

     cq.wcm.copy   -- for copy

     cq.wcm.move -- for move

I need to develop with new action same as above.so can some one explain how which files are executing from aem side it would be great.

I mean entire flow for one action

 

Thanks in advance.

 

Thanks,

Venkatesham G

Avatar

Level 10

"which js it is triggering"

 It looks like you want someone to tell you how internal AEM JS scripts work. 

Modifying JS files in AEM is not recommended, 

Avatar

Former Community Member

Yes...I mean i need end to end flow of file names only...Thanks...i need to create end to end flow for my action so i asked.

Please help me if anybody knows.It would be great if some one respond to this.

Thanks in advance.

Thanks,

Venkatesham G.