Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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