Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can add a number of cameras for a single setup, then specify the camera to use in the Respondent App via the bas64 url &custom_params=

Once we have added the multi-cameras, we need to make note of these names, then use the correct camera name to convert it into a base64 object.

make sure to change the shelf to the correct block name you are using in the shelf block

Code Block
languagejson
{    "shelf": {
        "set:active_camera_name": "Camera_2"
    }
}

Now we convert this object to bas64 using any online free converter, we will just use this for now:

Base64 Decode and Encode - Online

Once converted, we copy the new bas64 string to our respondent app publish url

Code Block
eyAgICAic2IiOiB7CiAgICAgICAgInNldDphY3RpdmVfY2FtZXJhX25hbWUiOiAiQ2FtZXJhXzIiCiAgICB9Cn0=

We then add this bas64 to the url:

Code Block
https://survey.rose.conceptsauce.io/?param_id=PRMS01GDG0GA84TX679E7GAYGPMD74&respondent_id=preview&custom_params=eyAgICAic2IiOiB7CiAgICAgICAgInNldDphY3RpdmVfY2FtZXJhX25hbWUiOiAiQ2FtZXJhXzIiCiAgICB9Cn0=