Forms are used to work with single records; Views are used to view multiple records
at the same time. There are different views available for each entity.
It's possible to create different types of Views for each entity, and also you can modify
existing Views.
There are three types of views:
- System views
- Public views
- Personal views
System Views
System views are special views that are available for system entities and are automatically
created when you create custom entities.
System views are not shown in view selector, and you can't use them in forms, or as a list
in a dashboard. You cannot deactivate or delete a system view, but you can customize them.
Also, you can include these views in a solution to export and import in another environment.
Available system views are (these are created automatically when a new entity is created):
- Advanced Find View
- Quick Find View
- Associated View
- Lookup View
Advanced Find View: It allows you to create advanced search queries. Click Advanced
Find from the right top side of the screen.
Select an entity in Look for and apply filters click Results.
You can see the result in Advanced Find, as shown below. The below Advanced Find view is of Account entity. Similarly, you have Advanced Find View for each entity.
To customize Advanced Find View, please follow the steps below:
Open Power Apps Maker Portal (https://make.powerapps.com/), expand Data and click
Entities.
Select the Account entity, click Views.
Then select more commands and click Edit view for Account Advanced Find View.
Select the required columns by using the + Add column option.
After completing, click Save and then click Publish.
Quick Find View: It allows you to search for records for an entity. You need to open an entity if you want to search for records using Quick Find View.
Open an entity, click the search box, enter a search query, and press enter.
You will see records matching this query. You can also use a wildcard search.
To customize Quick Find View, please follow the steps below:
Open Power Apps Maker Portal (https://make.powerapps.com/), expand Data and click Entities.
Select the Account entity, click Views.
Then select more commands and click Edit view for Quick Find Active Accounts.
You can search only in the columns that are part of find columns. If your search is not resulting in any result, the reason may be the column(s) is(are) not part of find columns.
To add a column in find columns, click Edit, find columns and select the required column and click Apply. You can select one or more columns as per your requirements.
Add columns to the view by clicking + Add column.
After completing, save the view by clicking Save and click Publish.
Associated View: It allows you to see associated or related entity records. For example, on Account entity, you can see associated contacts.
Click Accounts, open any record and click Related and then the related entity (in this scenario, it's Contacts)
You will see all the contacts associated with this Account.
To customize this Associated View (contact entity), please follow steps below:
Open Power Apps Maker Portal (https://make.powerapps.com/), expand Data and click Entities.
Select the Contact entity, click Views.
Then select more commands and click Edit view for Contact Associated View.
Add columns to the view by clicking + Add column.
After completing, save the view by clicking Save and click Publish.
Lookup View: It allows you to see and select records from a lookup field. For example, on Account entity record, you can click the Primary Contact lookup field to see contacts lookup view.
Click Accounts, open any record and click Primary Contact lookup to see contacts lookup view. By default, it shows two fields in the lookup, but you can expand to see five fields from the lookup view.
To customize this Lookup View (contact entity), please follow the steps below:
Open Power Apps Maker Portal (https://make.powerapps.com/), expand Data and click Entities.
Select the Contact entity, click Views.
Then select more commands and click Edit view for Contacts Lookup View.
Only the first five columns will be visible in the lookup view. So, you can select them accordingly.
Add columns to the view by clicking + Add column. After completing, save the view by clicking Save and click Publish.
Public Views
Public views are general-purpose views that you can customize as per your needs. Unlike system views, you can select public views in view selector and can be used in different components like forms and dashboards.
You can delete any custom public view created by you in an unmanaged solution, but not system-defined public views. Public views can be included in a solution.
Following system and public views are created automatically when a new entity is created:
- Active view
- Inactive view
For example, when you create a custom entity, two public views are created, as shown below:
This Leave Application is a custom entity and has the following two public views created automatically:
- Active Leave Applications
- Inactive Leave Applications
You can edit these views in the same way as other views. You can create new public views as per your requirements.
Personal Views
Personal views can be created by any user who has User-Level access to actions. These views are visible to only the user who has created it (unless shared with other users/teams).
Users can share personal views with other users and teams. However, you can control permissions of your shared view.
To create a personal view, you can reuse any system or public view.
If you want to transfer the ownership of your personal view to another user, you can do that by assigning the view.
You can see personal views at the end of view selector under My Views.
Please note that personal views cannot be included in a solution.
To create a personal view, open any entity (in this scenario, it's Account). Click More commands and then click Create view.
Select filters are per your requirements and click Results to see the preview of records.
After checking the preview, if you are OK with the results, click Advanced Find.
Click Save. Give it a Name and Description (if required). Click Save to create a personal view.
Click Accounts and then click view selector. You will find the personal view under My Views.
No comments:
Post a Comment