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

Adobe Launch: What is the use of execute globally checkbox in custom code under actions ?

Avatar

Avatar
Validate 1
Level 1
yashaswid436046
Level 1

Likes

4 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
yashaswid436046
Level 1

Likes

4 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
yashaswid436046
Level 1

17-07-2019

Want to get the knowledge for use of execute globally checkbox in custom code under actions. The info link just besides it is not working.

Any help would be highly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

524 likes

Total Posts

944 posts

Correct Reply

255 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

524 likes

Total Posts

944 posts

Correct Reply

255 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

26-07-2019

if you check this box, the variables become global meaning they will be available directly on the page.

For example, if your custom code is myVar=1; and the box is unchecked, this variable can't be read when you refer to it either directly from the page or later from other Launch components — execute myVar in the browser console and you will see "the variable is not defined".

With the box checked, you can read and write to it directly from the page — execute myVar in the browser console and you will see "1" returned.

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
yashaswid436046
Level 1

Likes

4 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
yashaswid436046
Level 1

Likes

4 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
yashaswid436046
Level 1

28-07-2019

Thank you !!! It helped a lot.