Creating a profile object

A profile object allows you to define the user experience (main page) of a particular user profile. You can create a profile object with the AL Language extension by using the tprofile snippet.

A profile object is defined as in the following example:

profile "SALES MANAGER"
{
Caption = 'Sales Manager';
ProfileDescription = 'Functionality for sales managers';
RoleCenter = 9005;
Enabled = false;
}

Here, we have defined a profile called Sales Manager, which uses the RoleCenter page with ID = 9005 (standard Sales Manager role center object in Dynamics 365 Business Central).

To deploy a profile object from your extension, I recommend creating a Profile folder in your AL project and, inside that folder, placing all the .al files that define your profiles.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.240.21