Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

This content isn't available after calling powered.embed($container, config)

Hello,   I am developing an application and am trying to embed Power Bi Premium, I have registeered the app as a Native Application, and used the ClientId to get the proper token.  I have confirmed...
  • Anonymous's avatar
    Anonymous
    9 years ago

    Eric_Zhang

     

    Thank you for your response. I was able to get this figured out this mornig.  It seems I was just missing a few properties of the config that you pass to the powerbi.embed function. Now my config looks like.....

     

    self.embedConfig = {
    type: 'report',
    accessToken: config.EmbedToken.token,
    tokenType: pbi.models.TokenType.Embed,
    id: config.Id,
    embedUrl: config.EmbedUrl,
    permissions: pbi.models.Permissions.All,
    settings: {
    filterPaneEnabled: true,
    navContentPaneEnabled: true
    }
    }
     
    WIth the above properties set, the reports started showing up just fine. Thanks for all your help.
     
    Stizz001