Overview The MultiSelectControl is a PowerApps Component Framework (PCF) control designed to allow users to select multiple records from a dataset within a model-driven app. It retrieves records from a specified entity and field, displaying them as a list of checkboxes. The selected values are stored as a comma-separated string. Features Retrieves records dynamically using the Web API. Displays checkboxes with corresponding labels. Maintains state of selected records. Handles errors gracefully. 1. Constructor The constructor initializes default values for entity and field names. 2. Initialization ( init method) Parameters: context : Provides access to environment data. notifyOutputChanged : Callback function to notify PowerApps of changes. state : Dictionary object for state persistence. container : HTML container for rendering the component. Steps: Initializes private variables. Creates and styles necessary DOM elements ( div , ul , label ...