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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Adobe Launch : Random Number Data Element Type

Avatar

Level 1

Hi,

I thought to use the Randon Number Data Element type but got "undefined" as the result. Any suggestion on how to use this data element?
I tried to change "storage duration" but it didn't work. 

Screen Shot 2022-06-30 at 1.10.54 PM.png

Screen Shot 2022-06-30 at 1.11.31 PM.png

 

Thanks!

CC: @jantzen_b 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

What you're encountering is totally unexpected. Just to confirm that you had:

  • saved your data element
  • added your data element to a library
  • added that library to your Development environment
  • built that library for your Development environment
  • opened a web page that loads that Development library
  • ... and then you ran _satellite.getVar("Test: Random number")

I know it sounds silly to ask this, but I want to ensure that your data element has been built properly.

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

What you're encountering is totally unexpected. Just to confirm that you had:

  • saved your data element
  • added your data element to a library
  • added that library to your Development environment
  • built that library for your Development environment
  • opened a web page that loads that Development library
  • ... and then you ran _satellite.getVar("Test: Random number")

I know it sounds silly to ask this, but I want to ensure that your data element has been built properly.

Avatar

Level 1

Hi @yuhuisg , Thanks for jumping in, and it totally makes sense! Confirming that all the above steps were executed correctly.

That said, I'm now getting a random number after creating another new dev environment and assigning the required library/data element to it.

Strange though why did the previous dev environment not work.


Screen Shot 2022-07-07 at 11.53.58 AM.png