Skip to main content

The difference between Primary and Selected entity types in Lasernet criterion - Knowledgebase / Lasernet CE Connector / Lasernet CE Connector General Information - Formpipe Support Portal

The difference between Primary and Selected entity types in Lasernet criterion

Authors list

Both the Primary and Selected entity types are standard CrmParameters.“ Primary Entity Type” is normally called PrimaryEntityTypeName and is the name of the primary entity on a page. “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 which 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, it can be used if the customer adds their own custom button or flyout to a grid of entities, such as in the example given in the image below:

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


Additional Information

Please see the Microsoft documentation below 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)

Helpful Unhelpful

1 of 1 people found this page helpful

Add a comment

Please log in or register to submit a comment.

Need a password reminder?

Share