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

Launch Configuration ignoring staging library

JohnPurchase
Level 2
Level 2

I am setting up an AEM / Analytics integration and have run into the problem that my staging configuration is being ignored on the staging server - the production configuration is always used. I've gotten around this on the staging server by using putting the incorrect (staging) URL in the production configuration. This prevents staging requests from polluting the data, but isn't ideal. I still have the problem that the production author is not using the staging library.

How does a server determine which of the configurations it should use? I would have guessed run mode, but these are set as expected - using "author", "publish", "stage", and "prod" where applicable.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies
vanegi
Employee
Employee

Ideally it should pick as per the runmodes. Can you check if there is any custom config present under /apps/my-project/config.local which may be overriding here?

 

 

JohnPurchase
Level 2
Level 2
Too late - I've moved on. The client was on AMS and I don't remember setting up any additional run modes, so I'd guess no.