since ‎07-07-2020
‎17-07-2020
swapnilchaudhari
Level 1
Re: dynamic tokens in offer throwing an error
Avatar

swapnilchaudhari

swapnilchaudhari
- Adobe Target
Update: I was able to resolve this. Issue was caused by white spaces in attribute

Views

154

Likes

0

Replies

0
dynamic tokens in offer throwing an error
Avatar

swapnilchaudhari

swapnilchaudhari
- Adobe Target
Hey guys, I am trying to access the customer attributes directly into offer as referred in this Post.Following is the code snippet that I have used.var a = "${crs.personalized experience.blog page visitors}"console.log('offer ran!')console.log(a) When this block executes error is thrown in with status 500Network call - status: 500, message: "An error has occurred while processing your request, please try again later"Is this causing because of the white spaces in attribute name? or I have missed ...

Views

160

Likes

0

Replies

1
Accessing customer attribute in offers
Avatar

swapnilchaudhari

swapnilchaudhari
- Adobe Target
Hi guys, I have written an offer code referencing customer attribute. This code is written just to test connection and data.Following is the snippet. var a = "${crs.personalized experience.blog page visitors}"console.log('offer ran!')console.log(a)I am directly referencing the audience from offer. When this code run I see error in console mbox-contents-7f70287b57a884bbc3c3e7ff06cb2d9f7131a976.js:1POST https://name.tt.omtrdc.net/rest/v1/delivery?client=name&sessionId=ce4718eef61c43f9b2a9af70210be...

Views

146

Likes

0

Replies

0