How you can write Customization just specifically to create a profile | CloudFronts

How you can write Customization just specifically to create a profile

Introduction:

Have you ever wondered how you can customize Business just for a specific profile and how tedious it can be for each and every profile? Well the answer is here and its simple than you expect. In this blog I’m going to how you can write Customization just specifically for the profile.

Pre-requisites:

1. VS Code
2. Al Language Extension
3. Business Central

Demonstration:

1. Creating a Profile Object:

There are two different profile objects.

i. Sales Manager Profile

ii. Business Manager Profile.

2. Creating Page Customization for the Profile Object:

There are two different Page Customization.

i. SalesManager : Here, the ‘No.’ field on Customer List is hidden.

ii. BusinessManager: Here, the ‘Name’ field on Customer List is hidden.

3. Linking between Profile Object and Page Customization:

The name of the PageCustomization is the customization defined in the profile.

Note: No variables, procedures and triggers are allowed on Page Customization.

4. Output:
In My Setting > RoleCenters.

You get two new Profiles.

For Sales Manager Profile:

No. field is hidden.

For Business Manager Profile:

Name field is hidden.

Conclusion:

Thus, in this way we can customize the app for specific profiles.


Share Story :

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close