- Print
- PDF
Difference Between Primary and Selected Entity Type in Lasernet Criterion
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: