custom rollout and custom liveaction issues

Avatar

Avatar
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
mohanb
Level 3

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
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

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
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

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
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

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
Give Back
Level 1
mohammedb397627
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
mohammedb397627
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Give Back
View profile
mohammedb397627
Level 1

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
Level 1
sachinsaxena1
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
sachinsaxena1
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
sachinsaxena1
Level 1

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
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

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
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
mohanb
Level 3

04-11-2016

Is this article published?

Avatar

Avatar
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
mohanb
Level 3

02-11-2016

Hi

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

TIA

Avatar

Avatar
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
mohanb
Level 3

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
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

01-11-2016

Avatar

Avatar
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
mohanb
Level 3

Likes

17 likes

Total Posts

76 posts

Correct reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
mohanb
Level 3

01-11-2016

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