{"title":"Profile object","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/devenv-profile-object/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-profile-object, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-profile-object","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Description of the profile object, which allows you to build an individual experience for each user profile.","date":"2024-09-30","meta":{"topic":"article"},"outline":[{"level":2,"title":"Snippet support","slug":"snippet-support","at":1060,"chars":407},{"level":2,"title":"Profile example","slug":"profile-example","at":1467,"chars":905},{"level":2,"title":"Related information","slug":"related-information","at":2372,"chars":226}],"text":"The profile object in Business Central allows you to build an individual experience for each user profile. The Profile object performs a validation to check whether the specified role center page exists, and devenv-page-customization-object exists, when you define a new profile object. On a page customization you can add changes to the page layout, and actions; but you cannot add variables, procedures, or triggers.\n> NOTE\n> Page customizations only apply to the Role Center they're specified for. In order to see them, in Business Central under My Settings, Role Center change to the specific Role Center that a page customization is defined for.\n> NOTE\n> Extension objects can have a name with a maximum length of 30 characters.\n> NOTE\n> The property allowDebugging, which is a setting under resourceExposurePolicy does not apply to page customizations. Page customizations defined in an extension with allowDebugging set to false can still be copied through Use Designer. See Resource exposure policy setting<devenv-security-settings-and-ip-protection>.\n## Snippet support\nTyping the shortcut tprofile creates the basic layout for a profile object when using the AL Language extension for Microsoft Dynamics 365 Business Central in Visual Studio Code.\n> TIP\n> Use Ctrl+Space to trigger IntelliSense and get assistance on code completion, parameter info, quick info, and member lists. For more information about snippets, see Syntax and snippets<devenv-syntax>.\n## Profile example\nThe following profile object example creates a profile for the MyRoleCenter Role Center, which is available in the Role Explorer in the UI and available to end-users. The profile also depends on the customization MyCustomization and modifies the layout of the Customer List to make the Name field invisible using the modify method. See properties/devenv-profile-properties.\n```al\nprofile MyProfile\n{\n    Description = 'Some internal comment that only the Dev can see';\n    Caption = 'My User-friendly Name';\n    ProfileDescription = 'A detailed description of who is this profile for, why/how to use it (etc)';\n    RoleCenter = MyRoleCenter;\n    Enabled = true;\n    Promoted = true;\n    Customizations = MyCustomization;\n}\n\npagecustomization MyCustomization customizes \"Customer List\"\n{\n    layout\n    {\n        modify(Name)\n        {\n            Visible = false;\n        }\n    }\n}\n```\n## Related information\nAL development environment<devenv-reference-overview>\nDeveloping extensions<devenv-dev-overview>\ndevenv-pages-overview\nProfile extension object<devenv-profile-ext-object>\ndevenv-page-customization-object"}