How to add a Power BI Analytic to an Application Page

After an Embedded Analytic has been added to the widget library, links to the analytic can be added to the page-level menu for the following types of pages:

To allow a user to access a Power BI Analytic from the page-level menu on an application page the following changes need to be added to the page’s metadata so that the analytic name can be displayed under Related Pages links.

For example:

<nav name="analyticsForOrgCashFlow" title="FIN - Organizational Cash Flow" widgetId="3" targetComponentType="StandardFormModalPage" targetLocation="viewManagerModal" targetQualifiedName="admbase.page.Advantage.AnalyticsApplicationPage" applicationUrl="{{applicationUrl}}" order="10"/>

In the above nav element, widgetId is the widget created on the WIDLIB page for displaying analytics. TargetComponentType is StandardFormModalPage, which specifies that a modal will be shown once we open analytics from the page-level menu. TargetQualifiedName is the page used to render analytics.

Powerbi_config.properties should be deployed to VLS\bin and all required properties should be correct.