Forum Discussion
Obtaining token to embed report
Take a look at the following:
Refresh token using JavaScript SDK example
Basically you need to set a listener on token expiration, once expired, call the SetAccessToken function to update it.
Regards,
Michael
- Michele_Zanoni8 years agoFrequent Visitor
Michael,
thank you for your answer. Unfortunately we need to take a step back. As the document at the link says, I'd need to implement a function generateEmbedToken() that calls the application Back End. Problem is, I've never written a single line of code in javascript, C# or html, nor do I know how Front End or Back End work or communicate.
I've downloaded the code app owns data at this link, I can try to understand what it does and I would be content with simply changing what I need in order to glue together something that works and embeds a report in a web page that I can later on go and change to my liking, but that's a second step. But the first obstacle is already "how do I turn the code I have downloaded in to a web page?"