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

How to identify only modified page references while publishing the page?

Avatar

Community Advisor

I am trying to publish the page references along with the page using AssetReferenceSearch API in my custom workflow. It is showing all the references of the page. How to identify only modified reference alone for publishing?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You need to iterate of the result of the ReferenceSearch and found out for each resource if it has been modified since the last activation. I am not aware of a convenience method to do that.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

You need to iterate of the result of the ReferenceSearch and found out for each resource if it has been modified since the last activation. I am not aware of a convenience method to do that.