Dynamically creating a web object
var customURL="http://surveys.phsa.ca/s/hip/pretest/all/?location=" + location + "&country=" + country + "&ha=" + ha + "&role=" +role;
The idea is to append SL2 variables to a url, and then to open that URL in a web object. I'm trying to send storyline-captured data to a fluid survey.
I find it only works if there is already a webobject on the slide, and this needs to have a fixed URL (e.g. http://surveys.phsa.ca/s/hip/pretest/all/). When I publish this, I can see my user-generated URL, but it is immediately hidden by the hard-coded webobject (i.e. two web objects appear on the same page).
Can anyone advise?