Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Page publishing issue

Avatar

Level 6

Hi All,

 

If user publishing a page , looks like it is being published as administrator instead of his own user. Please let me know what might be the cause

1 Accepted Solution

Avatar

Correct answer by
Level 8

There several ways in which a page can be published. In addition to the user simply activating the page from say the side kick or the Sites console a page can be published through a workflow (either by the author starting a workflow directly, or via the Activate Later function. In the case of activation via a workflow there is a process step at the end of the workflow where code triggers the publishing of the page in question. Be default this workflow code will use that a system user (the admin user) to publish the code. 

If you are use the Activate Page/Asset custom workflow step (in the WCM Workflow category) you have the option to choose Replicate as Participant which will tell the workflow process code to use the approving user to publish the page instead of the admin user. If you aren't using Replicate as Participant the only way to know who published the page is via workflow history.

View solution in original post

4 Replies

Avatar

Level 10

is it publishing using workflow? then the workflow step is using admin session instead of use session.

Avatar

Level 6

Hi sham,

 

Can you please elaborate more on this ? Any related docs to refer.

Avatar

Correct answer by
Level 8

There several ways in which a page can be published. In addition to the user simply activating the page from say the side kick or the Sites console a page can be published through a workflow (either by the author starting a workflow directly, or via the Activate Later function. In the case of activation via a workflow there is a process step at the end of the workflow where code triggers the publishing of the page in question. Be default this workflow code will use that a system user (the admin user) to publish the code. 

If you are use the Activate Page/Asset custom workflow step (in the WCM Workflow category) you have the option to choose Replicate as Participant which will tell the workflow process code to use the approving user to publish the page instead of the admin user. If you aren't using Replicate as Participant the only way to know who published the page is via workflow history.

Avatar

Level 6

Thanks Orotas and sham,.Issue with "activate later" only.