Get all the variable of query string parameter. | Community
Skip to main content
abhisheks517097
June 21, 2017
Solved

Get all the variable of query string parameter.

  • June 21, 2017
  • 3 replies
  • 1616 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hyder_Ziaee

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?

3 replies

Hyder_Ziaee
Adobe Employee
Adobe Employee
June 22, 2017

Hi Abhishek,

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

abhisheks517097
June 22, 2017

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.

Hyder_Ziaee
Adobe Employee
Hyder_ZiaeeAdobe EmployeeAccepted solution
Adobe Employee
June 24, 2017

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?