Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

sling.run.modes | What is the logic of resolution for run mode

Avatar

Level 4

Hi,

 
I trying to understand how what CQ (sling) uses to resolve run.modes
 
I have following run mode
sling.run.modes=rohit,local,dev,author
 
I have following config node
config.rohit.local.dev.author
config.local.dev.author
 
Scenario 1:
If we have both the config node:
config.rohit.local.dev.author
config.local.dev.author
 
Then it matches "config.rohit.local.dev.author"
 
Scenario 2:
If I delete node "config.rohit.local.dev.author" then it matches "config.local.dev.author"
 
Scenario 3:
After deleting node "config.rohit.local.dev.author" then if I rename "config.local.dev.author" to "config.R1.R2.local.dev.author" it does not matches anything
 
Scenario 4:
After deleting node "config.rohit.local.dev.author" then if I rename "config.local.dev.author" to "config.local.dev.author.R1.R2" it does not matches anything
 
Not able to understand #3 & #4 behavior - why its not matching anything ?
 
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You might want to check this presentation [0, where Mike explains the logic (plus some recommendations).

Jörg

[0] http://www.slideshare.net/MikePfaff/runmodes-and-configs-for-fun-and-profit

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

You might want to check this presentation [0, where Mike explains the logic (plus some recommendations).

Jörg

[0] http://www.slideshare.net/MikePfaff/runmodes-and-configs-for-fun-and-profit