Difference Between Primary and Selected Entity Type in Lasernet Criterion
    • 19 Mar 2024
    • 1 Minute to read
    • Contributors
    • PDF

    Difference Between Primary and Selected Entity Type in Lasernet Criterion

    • PDF

    Article summary

    Both the Primary and Selected entity types are standard CrmParameters.A Primary Entity Type is normally called PrimaryEntityTypeName and is the name of the primary entity on a page. A Selected Entity Type is called SelectedEntityTypeName and is the name of the entity selected in the grid.

    The standard Lasernet flyout and button both have an enable rule that validates if the control should be displayed or not. It validates PrimaryEntityTypeName and SelectedEntityTypeName against the criterion and SelectedControlSelectedItemCount against Multi-select on the method (Direct OData, OData Dialog, or HTTP Method).

    Selected Entity Type and Multi-select are normally not used for the standard Lasernet flyout or button, as these controls are only attached to the main tab for every entity. However, Selected Entity Type can be used if the customer adds their custom button or flyout to a grid of entities, such as in the following example:

    In this case, SelectedEntityTypeName would be Quote, and Multi-select would need to be Yes.

    Additional Information

    Refer to the following Microsoft ® documentation for more information:

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/customize-dev/pass-dynamics-365-data-page-parameter-ribbon-actions

    https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg309332(v=crm.8)


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.