Forum Discussion
pieduke88
2 years agoFrequent Visitor
Passing access_token to custom visual (dynamically)
trying to pass an access_token to my custom visual. If I use capabilities and data mapping, I end up with a lot of values because I am also passing some objectids and statuses. The access token valu...
dm-p
2 years agoSuper User
Hi pieduke88,
Properties would be your only option for a scalar value. If this is data-bound (and it sounds like it is if it's in your dataset), can you make this a measure and specify that the property use conditional formatting?
Outside of this, the only alternative would be to use the HTTP fetch API to poll/resync your token from within your visual (assuming that (a) it's an option, (b) you haven't tried this already, and (c) your endpoint allows access from null origin iframes).
Regards,
Daniel