DTM Environment switch | Community
Skip to main content
ankitnagarsheth
Level 2
July 12, 2018
Solved

DTM Environment switch

  • July 12, 2018
  • 1 reply
  • 3073 views

Hi,

What should I type in console to switch environment from staging to prod for DTM library? I know there is DTM switch. But, what about typing it in console to change the library?

Thanks

Ankit

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Stewart_Schilling

Set the staging library override :

localStorage.setItem(‘sdsat_stagingLibrary’, true);

Undo the above:

localStorage.setItem(‘sdsat_stagingLibrary’, false);

or

localStorage.removeItem(‘sdsat_stagingLibrary’);

1 reply

Stewart_Schilling
Community Advisor
Stewart_SchillingCommunity AdvisorAccepted solution
Community Advisor
July 12, 2018

Set the staging library override :

localStorage.setItem(‘sdsat_stagingLibrary’, true);

Undo the above:

localStorage.setItem(‘sdsat_stagingLibrary’, false);

or

localStorage.removeItem(‘sdsat_stagingLibrary’);