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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

AEM mobile apps - how to specify the Content Update Server URL in project config?

Avatar

Level 2

I am trying to specify the value for the the Content Update Server URL setting described here in the project config. At the moment I have to manually change it through the AEM web interface after building and deploying the app to my AEM publisher instance. Is there a way to specify this in a config file, e.g. the main Phonegap config.xml?

1 Reply

Avatar

Administrator

Please reach out AEM mobile[1] forums to have better experts have look at this questions. This is forum is related to AEM sites.

[1]https://forums.adobe.com/community/experiencemanagermobile

~kautuk

Avatar

Level 2

kautuksahni wrote...

Please reach out AEM mobile[1] forums to have better experts have look at this questions. This is forum is related to AEM sites.

[1]https://forums.adobe.com/community/experiencemanagermobile

~kautuk

 


Good point, I'll try that, thanks.

Avatar

Level 2

Hi, Benito.

It is not exactly what you asked and I don't know how different AEM mobile is from AEM apps, but it may help you:

For AEM Apps (AEM 6.0 and AEM 6.1), that stored Content Update Server URL as a property of the shell node, we usually created an OSGI service component (immediate = true) that hold a property called publishServerUrl. In the activation of this component, we used the value stored in the publishServerUrl property to change the corresponding property in the shell node.

This way we were able to have a different Content Update Server URL for each one of our AEM instances and changing the publishServerUrl through the OSGI configuration console caused an immediate update of the shell node.

Regards,

Daniel. 

Avatar

Level 2

Daniel Henrique Alves Lima wrote...

Hi, Benito.

It is not exactly what you asked and I don't know how different AEM mobile is from AEM apps, but it may help you:

For AEM Apps (AEM 6.0 and AEM 6.1), that stored Content Update Server URL as a property of the shell node, we usually created an OSGI service component (immediate = true) that hold a property called publishServerUrl. In the activation of this component, we used the value stored in the publishServerUrl property to change the corresponding property in the shell node.

This way we were able to have a different Content Update Server URL for each one of our AEM instances and changing the publishServerUrl through the OSGI configuration console caused an immediate update of the shell node.

Regards,

Daniel. 

 

 


I'll look into that approach, thanks!