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
BedrockMission!

Learn More

View all

Sign in to view all badges

Associate Staging DTM on lower environments

Avatar

Avatar
Validate 10
Level 2
Veera_kandregul
Level 2

Likes

5 likes

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
Veera_kandregul
Level 2

Likes

5 likes

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile
Veera_kandregul
Level 2

22-05-2017

Hi All,

We are trying to use DTM integration framework to get header and footer code into our websites. We are successful in the integration and now looking into OOTB way to make sure that

1) DEV/Staging/UAT author and publish instances (including PROD author) should use staging header and footer

2) PROD publish instance should use prod header and footer snippets.

 

Can you guys let me know if there is any OOTB way to achieve this, or do i need to do customizations based on runmodes?

Thanks,

Veera

View Entire Topic

Avatar

Avatar
Validate 10
Level 2
Veera_kandregul
Level 2

Likes

5 likes

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
Veera_kandregul
Level 2

Likes

5 likes

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile
Veera_kandregul
Level 2

23-05-2017

Thanks Jantzen,

I am referring to the recommended integration using /etc/cloudservices/dynamictagmanagement/<DTMconfig> and then using cloud config tab on page properties.

When i looked into implementation code of these integrations, it is checking only if 'author' or 'wcmmode=disabled' but dont have any options to verify/configure the lower environments so that staging header will go into these environments.

 

Below is the snippet from /libs/cq/dtm/components/dynamictagmanagement/dtm_include.jsp

//We use production scripts if we run on a publish instance or the user asked to use these scripts on author instance as well.
        String dtmScriptsTypeToUse = (mode == WCMMode.DISABLED || authorProdInclude) ? "production" : "staging";

 

Can you let me know if there is any OOTB way to get staging header code into lower environments?