custom rollout and custom liveaction issues

Avatar

Avatar

mohanb

Avatar

mohanb

mohanb

31-10-2016

i am using aem 6.2 and java 8. i created custom rollout and custom live action as per the steps mentioned in the https://docs.adobe.com/docs/en/aem/6-2/develop/extending/msm.html#Add%20Synchronization%20Actions%20... document. custom rollout config is configured for “On Rollout”.

How ever, when i view or edit/save trigger. it doesn’t reflect on the console. It shows as trigger “not defined”. there are couple of things i observed,

 

  1. when live copy is created from source to destination custom action is not getting invoked inspite of adding the custom rollout config before creating livecopy. but when i go to livecopy and click on synchronize button action is getting executed. is this how is it supposed? or is there a way to ensure custom live action gets executed when live copy gets created
  2. custom live action registered under the node doesn’t appear on screen. i’ve seen default and other roll-out configuration which displays all the information when page is viewed. attached is the screenshot. Also, when i edit/save the settings of rollout config, i see below error message in error.log. 

 

31.10.2016 18:24:14.981 *ERROR* [0:0:0:0:0:0:0:1 [1477963454977] GET /etc/msm/rolloutconfigs/titlelocaleliveaction.html HTTP/1.1] com.day.cq.wcm.msm.impl.RolloutConfigManagerFactoryImpl RolloutConfig /etc/msm/rolloutconfigs/titlelocaleliveaction/jcr:content is invalid: Failed to resolve Factory with id titleLocaleAction, maybe Service is uninstalled

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

02-11-2016

We completed this draft of the article - it is invoked when we Activate the page - as an example: 

https://helpx.adobe.com/experience-manager/using/Extending_MSM.html

So yes - the rollout page is activated and the custom logic writes info to the log file. The code works as specified in the artilce. 

Answers (10)

Answers (10)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

01-11-2016

I am investigating with the code that works  - my objective is to get this all working and into a HELPX article and video:

http://scottsdigitalcommunity.blogspot.ca/2016/11/extending-multi-site-manager-using.html

I hope to have this all written up and reviewed and released by Fri.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

01-11-2016

I am going through this artilce - i will get this code into a HELPX article and provide you all the steps to get it successfully running. 

Avatar

Avatar

mohammedb397627

Avatar

mohammedb397627

mohammedb397627

01-04-2020

@smacdonald2008 ,

I'm going throw the same issue. I have already succeeded in AEM 6.3.

BUT in AEM 6.4.8

even following this doc: https://docs.adobe.com/content/help/en/experience-manager-64/developing/extending-aem/extending-msm.....

 

and having the same code source than: https://github.com/Adobe-Marketing-Cloud/experiencemanager-java-msmrollout/blob/master/MyLiveActionF...

 

and using the same dependencies in my pom.xml ... I have the same error:

om.day.cq.wcm.msm.impl.RolloutConfigManagerFactoryImpl RolloutConfig /apps/msm/wcm/rolloutconfigs/custom-live-copy/jcr:content is invalid: Failed to resolve Factory with id exampleLiveAction, maybe Service is uninstalled 

 

do you have or anybody else any idea on how to resolve this.

 

Thank you

Avatar

Avatar

sachinsaxena1

Avatar

sachinsaxena1

sachinsaxena1

14-03-2019

Hi smacdonald2008

i am trying to follow same steps for creating custom rollout action at aem 6.4 sp2 but getting below error -"com.day.cq.wcm.msm.impl.RolloutConfigManagerFactoryImpl RolloutConfig /apps/msm/test/rolloutconfigs/examplerolloutconfig/jcr:content is invalid: Failed to resolve Factory with id exampleLiveAction, maybe Service is uninstalled".

is there anything changed in 6.4 to create custom rollout action?

Thanks

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

04-11-2016

Yes - it teaches you how to successfully build a custom rollout action. The code compiles and is invoked when a new LiveCopy page is activated. 

Avatar

Avatar

mohanb

Avatar

mohanb

mohanb

04-11-2016

Is this article published?

Avatar

Avatar

mohanb

Avatar

mohanb

mohanb

02-11-2016

Hi

Is your action getting trigger when you do rollout first time? 

TIA

Avatar

Avatar

mohanb

Avatar

mohanb

mohanb

01-11-2016

Thanks @smacdonald2008

Issue was with getName() method which returned null in the article code and that's fixed in the github code you've pointed. now #2, error in the log files is not appearning

custom live action registered under the node doesn’t appear on screen. i’ve seen default and other roll-out configuration which displays all the information when page is viewed. attached is the screenshot. Also, when i edit/save the settings of rollout config, i see below error message in error.log. 

 

#1, is not resolved yet. When i initiate a live copy by selecting source, destination and specifying rollout (standard rollout -default, custom rollout - to trigger custom action), custom action is NOT triggered. I have to goto live copy instance and synchronise explicitly, only then changes happen and reflect on screen. Is this how it is supposed to work?

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

01-11-2016

Avatar

Avatar

mohanb

Avatar

mohanb

mohanb

01-11-2016

anyone faced this issue before? looking for pointers around this issue.