How to use the powerbi-client.models.Permissions function in powerbi-client

To help you get started, we’ve selected a few powerbi-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github akshay5995 / powerbi-report-component / src / lib / index.jsx View on Github external
embedId,
      permissions,
      pageName,
      extraSettings,
      dashboardId,
    } = props;

    return clean({
      type: embedType,
      tokenType: models.TokenType[tokenType],
      accessToken,
      embedUrl,
      id: embedId,
      pageName: pageName,
      dashboardId: dashboardId,
      permissions: models.Permissions[permissions],
      settings: {
        filterPaneEnabled: true,
        navContentPaneEnabled: true,
        ...extraSettings,
      },
    });
  }
  return null;
};

powerbi-client

JavaScript library for embedding Power BI into your apps. Provides service which makes it easy to embed different types of components and an object model which allows easy interaction with these components such as changing pages, applying filters, and res

MIT
Latest version published 9 months ago

Package Health Score

77 / 100
Full package analysis