Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Custom LiveAction - autoSave

Avatar

Level 3

Hi all,

I have successfully created a custom live action based on https://docs.adobe.com/docs/en/aem/6-0/develop/extending/msm.html. However, I need to set the autoSave flag to true in order to allow my LiveAction save changes that are made to the repository. Here is the method used:

        @Override
        public void execute(Resource source, Resource target, LiveRelationship liverel, boolean autoSave,
                boolean isResetRollout) throws WCMException {

 

By default this flag is false. How could I set this flat to true??

Thanks,

Salva.

0 Replies