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”.
Please see the Microsoft documentation below for more information: