Push on Modify Doesn't work | Community
Skip to main content
narendrar998524
Level 2
Nov 1, 2016 8:00 PM UTC
Solved

Push on Modify Doesn't work

Hi Team,

I'm trying to use push on modify trigger to have my live copies updated when I am modifying Blue print page. But it doesn't work. I am not having any custom rollout config. Using the OOTB config. I enabled the sync actions that need to be triggered on Modification of the content sync. I even don't see any errors in the log file while update my blueprint page.

I ran out of options. If I do rollout the changes roll out to the live copies. But I don't want to do that. I want auto push on blue print modification. Does anyone faced the same issue? Any help would be really appreciated.

The same on the Activate and deactivate Roll out configs. We are on AEM 6.1 with SP1.

Thanks,

Narendra N

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Nov 1, 2016 10:10 PM UTC

7 replies

New Participant
Jun 2, 2017 4:13 AM UTC

Yes. Thanks - I used PageManager().touch(); Soved the purpose. Thank you all

Translate
Level 5
Jun 1, 2017 8:30 PM UTC

Yes, you can. By modification date only it can trigger.

we did the same in our project. 

If you don't have any problem with the latest date, then you can do it.

Thanks

Translate
New Participant
Jun 1, 2017 5:29 PM UTC

is it OK to set the "cq:lastModified"  property? If i can set this I am get the trigger. Please suggest.

Translate
New Participant
Jun 1, 2017 4:53 PM UTC

Thanks but as update, I had already created a custom roll-out following the same Links - it is working for case of updating page from Site Admin or Page Manger.   But when we modify page property through Sling API. There is not trigger(Modify) hence it is not reaching my Custom Action.

Translate
smacdonald2008
Level 10
Jun 1, 2017 4:41 PM UTC

Look here for information on extending AEM MSM -- Extending the Multi Site Manager

Hope this helps...

Translate
New Participant
Jun 1, 2017 4:23 PM UTC

I have a similar requirement and created a custom LiveActionFactory and created a Custom Rollout configuration with Trigger as Modify and it is working fine when I modify my Pages from Site admin.

But In addition to that, my blue print pages will be created, update or modified  from a back job. So In this cases also, My roll out config is working fine for Create and Delete but for Update case is failing as there is trigger no page modify as page properties are modified and committed using Sling API ModifiableValueMap.

So is there any way I can achieve either 1.Page Modify or 2.Rollout out the Blueprint page through API.

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Nov 1, 2016 10:10 PM UTC