-
Notifications
You must be signed in to change notification settings - Fork 471
Update Embed Token
ali-hamud edited this page Apr 20, 2017
·
5 revisions
setAccessToken can be used to update underlying Embed token without reloading the embedded report. It can be used for example if Token is expired or near expiry.
report.setAccessToken("eyJ0eXAiOiJKV1Qi..00YU")
.catch(error => { ... });
getAccessToken returns the current embed token.
var token = report.getAccessToken();