Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Once I get the report URL, to display the report can I use server side post request with "message" atribute to obtain the report?
I'm guessing that you don't like to obtain the access token every time?
One way I know is in Power BI Embedded with a token never expires. Check this reply.
No. I don't want access_token to be embedded into the dom or webpage.
It's a server variable, I don't want to use the postMessage as it cannot retrieve access_token from server.
If there is a way to use get/post request from server to load the reports?
I'm afraid the answer is No, there isn't.
Not quite an expert on javascript, however, per the documentation Window.postMessage(), the report page on server by design is listening to the message from postMessage and be ready to reponse. Though you could embedde an report with Javascript API (still need accesstoken) without explicitly calling the postMessage, I'm guessing the code underlying is still use postMessage.
So based on my understanding, it is javascript behavior and communication mechanism between the clients' page and embedded iframe, it just has nothing to do with get/post request.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
22 | |
3 | |
2 | |
2 | |
2 |