Create a quick view form to view information about a related table

This article describes how to create a quick view form and how to add a quick view control to a main form.

A quick view form can be added to another form as a quick view control. It provides a template to view information about a related table row within a form for another table row. This means app users do not need to navigate to a different row to see the information needed to do their work.

Note that while a quick view form can appear over a view or a form, it is authored as a form, rather than a view.

In the example below notice the module that relates to a given lesson within the quick view form. A one-to-many relationship exists between the two tables for this to be possible. We can see additional columns of metadata, including the image associated with the module. The form then continues with the metadata associated with the lesson table record.

view quick view form control

Quick view controls are associated with a lookup column that is included in a form. If the lookup column value is not set, the quick view control will not be visible.

Note

  • Data in quick view form controls can't be edited and they do not support form scripts.
  • Because quick view forms are viewed using a quick view control in a form, they do not include header, footer, or navigation areas. Security roles can't be assigned to quick view forms and they can't be activated or deactivated.

Create a quick view form

You create quick view forms using the form editor in a manner similar to the way you create other forms. Quick view forms are read-only. Use them to create forms that are for reading purposes only.

  1. Sign in to Power Apps.

  2. Expand Data, select Tables, select the table that you want, and then select the Forms area.

  3. On the toolbar, select Add form > Quick View Form.

  4. In the Form panel, enter a Display Name and Description to differentiate this quick view form from others.

  5. In the form designer, drag any columns from the Columns Explorer into the section on the form.

    Important

    Required columns can't be removed from a form. If you add a required column to the form and want to remove it, you must delete the form and then re-create it. When you set the required property for a column, a row can't be saved without data in the column.

  6. To save the form select Save.

  7. Select Publish to see the new form in the app.

Edit a quick view form

Quick view forms have a simplified layout because they are designed to be viewed within a form section. Only one single column tab is available. You can add only additional single column sections, columns, subgrids, and spacers.

  1. Sign in to Power Apps

  2. Open the solution relevant to your table or access the table directly from the data option in the sidebar.

  3. Open the table you want, and then select the Forms area.

  4. Either select the quick view form, or select ... next to the form, and then select Edit form in new tab.

  5. Add or remove the table columns you want.

Important

Required columns can't be deleted. If you add a required column to the form, you can't delete it. If you don't want the column in the form you must delete the form and then re-create it.

When you edit a quick view form, you must publish your changes before they will be visible in the application.

Add a quick view control to a main form

Quick view forms can only be added to a main form where a lookup column exists that targets the table of the quick view form.

  1. Sign in to Power Apps.

  2. Expand Data, select Tables, select the table that you want, and then select the Forms area.

  3. Select a form, which Type is Main

  4. In the form designer, from the Components pane select Quick view.

  5. In the Select quick view forms dialog box, select the Lookup column, and then select the lookup column value. More information: Quick view control properties.

    Add quick view control.

  6. Select Done to close the Select quick View forms dialog box. The quick view form appears on the form.

  7. To save the form select Save.

    Important

    Be aware of the behavior that occurs when you create a parent relationship with the same table. For example, if Account has a relationship to Account and a lookup is created that is used by a quick create form that creates a parent row, the first row will not be saved with the lookup that has the parent row value. This is because of the circular reference introduced by using the same table. If this issue is experienced it can be resolved by removing the parent row id on the quick create form before saving the row.

Quick view form properties

When the quick view form is used in a main form the following properties can be set or updated.

Property Description
Name Required: The unique name for the quick view form that is used when referencing it in scripts.
Label Required: A label to display for the quick view form.
Display label on the Form Displays the label on the form.
Lookup Column Choose one of the lookup columns included in the form.
Related table This value depends on the Lookup Column chosen. It is usually the primary table for the 1:N table relationship for the lookup.

If the table includes a Potential Customer lookup that can accept either an account or contact, in the Quick View Form column you can choose a quick view form for both account and contact by changing this value and then choosing another quick view form.
Quick View Form If the Related table has any quick view forms these can be selected here. Otherwise, select New to create one.

Next steps

Create and edit a card form