Breyta

Deila með


Use Monitor to troubleshoot page behavior in model-driven apps

Monitor can help you debug and diagnose problems, which help you build faster, more reliable model-driven apps. Monitor provides a deep view into how an app runs by providing a log of all activities in your app as it runs.

Important

Monitor must be run on the model-driven app and not directly on a custom page.

Start a Monitor session

There are two ways to open a Monitor session.

From Power Apps

  1. Sign in to Power Apps, select Apps.

  2. Select ... next to the model-driven app or on the global command bar, and then select Monitor.

    Sample model-driven app

  3. On the Monitor page, select Play model-driven app on the command bar.

  4. When prompted, select Join.

  5. The app loads in a new browser tab with a message indicating the monitoring session. Switch back to the Monitor tab to view activity. Monitored app session with message This app is currently connected to a monitor session.

From a model-driven app

  1. Play your model-driven app.

  2. Add &monitor=true to the end of the URL in your web browser, and then refresh the page.

  3. Select Monitor on the command bar.

    Location of Monitor button in global command bar

Filter monitored activity

When you filter on a model-driven app custom page-related events in Monitor, you can get information about related tables, tables, controls, and components, such as on a custom page, in Monitor as your app runs.

Monitoring a model-driven app that has a custom page using the canvas app gallery control

For example, to filter on the custom page that uses the Gallery1 control, select the Control column header > Filter by, enter Gallery1, and then select Apply.

For more information about model-driven app monitoring, go to Debug a model-driven app with Monitor

Close a Monitor session

To close the monitoring session, close the browser tab where the monitored model-driven app is playing.

Next steps

Use Monitor to troubleshoot model-driven app form behavior