Expand my Community achievements bar.

SOLVED

List variables for mobile

Avatar

Level 3

Hello,

 

How do we set list variables for a mobile application given that we are using context data and processing rules?

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi @jane_12,

Please ensure that the List variable is configured in the Report Suite settings with the specified delimiter for this scenario, as shown below

Elanchezhiyan_E_2-1749811019147.png

Here are the two approaches you can use:

1. Single Context Data variable:

Pass all the values in a single Context Data variable, for example:

 productType(Context Data) = adobe1: adobe2: adobe3: adobe4:...

if the productType is set in the Context Data Variable then set the List variable with the Context Data values.

Elanchezhiyan_E_0-1749807188850.png

 

2. Multiple Context Data Variable:

If you prefer to pass the values different Context data variables into a List variable, concatenate value with specified delimiter. Then, use processing rules to map the concatenated values to the List Variable, as demonstrated in the screenshot.

Elanchezhiyan_E_1-1749810700722.png

Make sure the delimiter used matches the one configured in the List Variable settings in Report Suites.

 

Hope this helps. Let me know if you need further assistance.

Good Luck..!

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

Hi @jane_12,

Please ensure that the List variable is configured in the Report Suite settings with the specified delimiter for this scenario, as shown below

Elanchezhiyan_E_2-1749811019147.png

Here are the two approaches you can use:

1. Single Context Data variable:

Pass all the values in a single Context Data variable, for example:

 productType(Context Data) = adobe1: adobe2: adobe3: adobe4:...

if the productType is set in the Context Data Variable then set the List variable with the Context Data values.

Elanchezhiyan_E_0-1749807188850.png

 

2. Multiple Context Data Variable:

If you prefer to pass the values different Context data variables into a List variable, concatenate value with specified delimiter. Then, use processing rules to map the concatenated values to the List Variable, as demonstrated in the screenshot.

Elanchezhiyan_E_1-1749810700722.png

Make sure the delimiter used matches the one configured in the List Variable settings in Report Suites.

 

Hope this helps. Let me know if you need further assistance.

Good Luck..!

 

Avatar

Level 3

Thank you! This is helpful.