Skip to main content
abhisheks517097
Jun 21, 2017 1:11 PM UTC
Solved

Get all the variable of query string parameter.

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.
Hyder_Ziaee
Hyder_ZiaeeAccepted solution
Adobe Employee
Jun 24, 2017 3:07 AM UTC

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
Jun 22, 2017 2:29 AM UTC

Hi Abhishek,

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

Translate
abhisheks517097
Jun 22, 2017 5:32 AM UTC

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.

Translate
Hyder_Ziaee
Adobe Employee
Hyder_ZiaeeAdobe EmployeeAccepted solution
Adobe Employee
Jun 24, 2017 3:07 AM UTC

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?

Translate