Dynamics 365 FO - View, Data entity, Enum, EDT, Query, Menu, Seciruty, Role, Duty, Report, Label, extensions - Song Nghia - Microsoft Dynamics Partner

Song Nghia - Microsoft Dynamics Partner

Song Nghia - Microsoft Dynamics Partner

Breaking

Saturday, September 17, 2022

Dynamics 365 FO - View, Data entity, Enum, EDT, Query, Menu, Seciruty, Role, Duty, Report, Label, extensions

Dynamics 365 FO - View, Data entity, Enum, EDT, Query, Menu, Seciruty, Role, Duty, Report, Label,  extensions

Nghia Song -  Microsoft Dynamics 365 Technical Consultant

Nghia Song

Tel - WhatsApp: +84967324794

Email: songnghia.uit@gmail.com


View and Data entity extensions

You can extend a View or Data entity to achieve much of the functionality available with table extensions.

Enum extensions

You can extend a View or Data entity to achieve much of the functionality available with table extensions.

By extending an Enum, you can add new Enum values to it. It is important to keep the following in mind when dealing with extensible Enums:

  1. We cannot have X++ logic that depends on the integer value of Enum values (For example. If (Enum1.v1 > Enum1.v2) ... is not supported for extensible enums)

  2. When Enum values of extensible Enums are synchronized into the database:

Integer values that belong to the baseline enum are deterministic, they come from the metadata.

Integer values that are an extension are generated during the synchronization process and are not deterministic.

EDT Extensions

We can extend an EDT element in order to modify any of the following properties:

  • Form help

  • Label

  • String size

  • Help text

Query extensions

You can extend a Query element to achieve the following:

Add ranges to an existing data source.

Add new (embedded) data sources to an existing data source.

Add new fields to an existing data source.

Menu extensions

You can extend a Menu element to achieve the following:

  1. Add new menu items, submenus, menu references and tile references to an existing menu.

  2. Hide an existing menu item, tile, or sub-menu in a menu by setting the Visible property to No

Security role and duty extensions

You can extend a Security Role or a Security Duty to add new duties/privileges to these elements.

Report extensions

You can customize reports and business docs using extensions

Label extensions

You can create label extension files in order to modify the string value of a label, add new labels to the same label file or add new languages. To create a label extension file you must name it with a _extension suffix. For example, to extend the FLM labels of the Fleet Management model, do the following:

  1. Create a project that belongs to a model that references Fleet Management (The model Fleet Management Extension is an example).

  2. Add a new label file to the project and name it FLM_Extension.

  3. Within the FLM_Extension label file, you can create new labels or modify the value of labels that are defined in the FLM label file of the Fleet Management model. Use the standard label editor to define new labels or redefine labels that already exist in the original FLM label file.

  4. If your goal is to create translations of the FLM label, right-click on the FLM_Extension element in your project and select Add new languages. Follow the wizard to add translation files to the FLM labels.

    Next: Dynamics 365 FO - Practice event argument types

No comments:

Post a Comment