1 Reply Latest reply on Oct 31, 2017 4:20 PM by Amelia Waliany

    Set profile script to a javascript variable in offer code

    chrisludwig87 Level 1

      Hi, hope someone can haelp me out on my purpose.


      We're using the category affinity and I've written a profile script called topCategory using "return user.categoryAffinities[0];". Now I'd like to show a dynamic popup which shows an image. The URL of the image contains the value that is stored in topCategory. So I need to store the value of my profile script in a javascript variable to place it into the image-URL.


      Is there a solution existing for this case?