Summary

Completed

In this module, you learned that you can use the UsageCategory property to add an object to the Business Central search feature. The UsageCategory property is always used together with the ApplicationArea property. If you omit the UsageCategory, or if you specify the UsageCategory with the value None, you can remove the ApplicationArea.

You can select from the Administration, Lists, Documents, None, History, ReportsAndAnalysis, and Tasks categories as possible values. For a card page, you must use the value None because you will always want a user to open a card by using a list page.

Instead of using page extensions, you can create page customizations. With a page customization, you can only modify existing fields that were already defined on the page that you're customizing. You can't add new fields or add code to a page customization. Make sure that you define a Profile object to link the page customization to, and only users who are assigned to that specific profile will see the customizations. You can use the tpagecust snippet in Visual Studio Code to help with this process.

With the tprofile snippet, you can define a profile. In a Profile object, you need to define a Role Center page that is associated with the profile.

Business Central provides developers with the possibility to create views. The snippet for views is tview. You can define views within pages, page extensions, and page customizations, and you can use them to define an alternative view on the displayed data. Additionally, you can filter and sort the data without having to create a separate page. Select the required view by using the Filter pane.

You also learned how to extend the basic list of application areas by using Application Area Setup. You can use this feature to show or hide controls on a page based on the ApplicationArea property.