Expand my Community achievements bar.

LiveRelationshipManager "isSource" method error.

Avatar

Level 2

Hi all,

I'm facing an issue with the LiveRelationshipManager isSource method. LiveRelationshipManager ("The Adobe AEM Quickstart and Web Application.")

It's returning false for a Blueprint, only in publish mode.

I'm tring to code somthing like this:

if(liveRelationshipManager.isSource(getRequest().getResource())){

   universalModel = resource.adaptTo(BluePrintConfigModel.class);
}else{

   universalModel = resource.adaptTo(LiveCopyConfigModel.class);
}

Have someone faced similar issue?

Does someone know what is checked to define wether a resource is a Blueprint?

Thank you in advance for any help!

2 Replies

Avatar

Level 10

Sent this to the team. So this is working on Author - but not PUB?

Avatar

Level 2

Yes, it's working on Author but not on the Publish.