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

Get all the variable of query string parameter.

Avatar

Level 1

I am trying to get all the variable of a server call of specific pages. The site i am testing on is here.

I am able get through _satellite.getVar(‘data element name’); but one only variable at a time. This there any built-in function to return all the varibale evar and props as well.

Capture.PNG

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

So I understood the part about what you require.

What I would like to know is

  • how you would like the output; format?
  • and where are you trying to use it?

Format: Should they be all a continuous string of data (parameter and value) separated by commas?

Where: are you trying to capture it in another variable? Are you trying to use this to debug the data?

View solution in original post

3 Replies

Avatar

Employee Advisor

Hi Abhishek,

How exactly are you needing the output? (for the given image). Can you elaborate?

Avatar

Level 1

i need a function that returns all the values passed in the query string parameter. I found _satellite.getVar(‘data element name’); but I gives one particular value, I am all the parameters with values.

Avatar

Correct answer by
Employee Advisor

So I understood the part about what you require.

What I would like to know is

  • how you would like the output; format?
  • and where are you trying to use it?

Format: Should they be all a continuous string of data (parameter and value) separated by commas?

Where: are you trying to capture it in another variable? Are you trying to use this to debug the data?