Expand my Community achievements bar.

SOLVED

DTM Environment switch

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Set the staging library override :

localStorage.setItem(‘sdsat_stagingLibrary’, true);

Undo the above:

localStorage.setItem(‘sdsat_stagingLibrary’, false);

or

localStorage.removeItem(‘sdsat_stagingLibrary’);

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Set the staging library override :

localStorage.setItem(‘sdsat_stagingLibrary’, true);

Undo the above:

localStorage.setItem(‘sdsat_stagingLibrary’, false);

or

localStorage.removeItem(‘sdsat_stagingLibrary’);