Forum Discussion

toy's avatar
toy
Advocate I
8 years ago
Solved

unable to save the report in embedded

we have embedded our pbi in to our web and it looks great thank you for that   now we are using the save() and saveAs() in the js lib to save our reports but we are getting this errror:   Somet...
  • v-jiascu-msft's avatar
    8 years ago

    Hi toy,

     

    How did you create the embedded token? The access level should be "Edit" if you wan to save reports. Please check out.

    unable_to_save_the_report_in_embedded

     

    Best Regards,

    Dale

  • toy's avatar
    toy
    8 years ago

    Dale - hey thx for your quick reply and your response

    because of your insight i got it resolved thx 

     

    final working code looks like this:

    generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: "edit", allowSaveAs: true, datasetId: report.DatasetId);