Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEP Community Member of the Year!
SOLVED

AEM / Launch Cloud Service / Remapping the embed code

Avatar

Level 3

After setting up my (first) Launch Cloud Service, it looks like the AEM Author environment is linked to my Launch Staging embed code and the AEM Publish environment to the Launch Production embed code.

Is it the expected design?

Let's say I have 3 AEM instances, Dev, Staging and Prod.

I would like the AEM Dev instance to be tied to the Dev Launch embed code for both environments (Author and Publish).

I would like the AEM Staging instance to be tied to the Staging Launch embed code for both environments (Author and Publish).

And I would like the AEM Production instance to be tied to the Launch Staging embed code for AEM Author and Production Launch embed code for AEM Publish, which is the current design.

We had similar issue with the DTM Cloud Service but at least, we were able to override these settings in the DTM cloud service UI.

How can I do this with the Launch Cloud Service? Do we need to alter these settings in the CRXDE directly?

Would be really great if we could map each AEM instance to whatever Launch embed code we want, directly in the Cloud Service UI.

Unless I'm missing something?

Thanks,

Olivier

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi, 

Please have a look at this [1] documentation.

By default, Stage would link to stage and prod to prod (It is expected | header code is fetched in that way).

But, to have prod on stage,  we do have an option "Include Production Code on Author", you can check this. This[1] documentation covers all aspects that you are trying to achieve. HTH

 

[1] https://helpx.adobe.com/experience-manager/using/aem_launch_adobeio_integration.html

 



Kautuk Sahni

View solution in original post

3 Replies

Avatar

Level 10

As far as Launch is concerned, you can have as many environments as you'd like. By default, there are 3 (Development, Staging, and Production) however you can create more if you desire.  Here is some helpful documentation around creating and managing environments in Launch.

As for the AEM integration, I'll have to leave that to someone on the AEM team that is more familiar with it. @kautuk_sahni  Do you have any additional info you could share here?

 

As an alternative, you might be able to manually configure this by using the embed codes from Launch and including them manually in your instances rather than relying on an integration that may or may not support your use case.

Avatar

Level 4

Library URI configuration in the staging and production tabs of the Cloud Services settings between AEM Sites and Adobe Launch is editable. From my understanding, the setup is designed such that the AEM author instance points to the staging code snippet, while the AEM publisher instance points to the production launch code snippet.

However, given the nature of our environment configurations, it is not desirable for the Dev AEM publisher to point to the production launch code snippet for obvious reasons. To address this, we manually updated the Cloud Services configuration across all lower and higher AEM environments.

Specifically, we edited the Library URI field in each AEM author environment to ensure it points to the appropriate launch code snippet.

After testing the configuration, we confirmed that it is working as expected.

Avatar

Correct answer by
Administrator

Hi, 

Please have a look at this [1] documentation.

By default, Stage would link to stage and prod to prod (It is expected | header code is fetched in that way).

But, to have prod on stage,  we do have an option "Include Production Code on Author", you can check this. This[1] documentation covers all aspects that you are trying to achieve. HTH

 

[1] https://helpx.adobe.com/experience-manager/using/aem_launch_adobeio_integration.html

 



Kautuk Sahni