Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MscrmTools committed Jun 20, 2019
2 parents 931678e + 6fe9cb3 commit 3b78711
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,30 @@
Controls using PowerApps Components Framework

## NN Checkboxes

[Download](https://github.com/MscrmTools/PCF-Controls/releases/)

### Purpose
The purpose of this control is to allow user to associate/disassociate records for a many-to-many relationship displaying all possible records as checkboxes.

![Vidéo](https://github.com/MscrmTools/PCF-Controls/blob/master/NNCheckboxes/Screenshots/video.gif?raw=true)

New in version 1.1
- You can choose the number of columns to render
- Relationship schema name is not mandatory if only one many-to-many relationship exists for the entities
- Records can be rendered with background color and forecolor if the entity has corresponding attributes
- Records can be grouped by an attribute (text, optionset or booleans)

![Update1.1](https://github.com/MscrmTools/PCF-Controls/blob/master/NNCheckboxes/Screenshots/ColorAndGroups.png?raw=true)

### Configuration
![Configuration](https://github.com/MscrmTools/PCF-Controls/blob/master/NNCheckboxes/Screenshots/Configuration.png?raw=true)

Due to current limitation of PowerApps Components Framework for dataset, multiple properties need to be set
1. Display attribute (Champ d'affichage) : Attribute in the subgrid view that is used for checkbox label
2. Parent entity logical name (Nom logique de l'entité parente) : Logical name of the current form entity
3. Relationship schema name (Nom de schéma de la relation) : Schema name (case is important) of the many-to-many relationship
This is the list of parameters that can be set on the control

* **Display attribute** : Attribute to use as label for the checkbox (required / bound to an attribute)
* **Relationship schema name** : Schema name of the relationship (required only if multiple many-to-many relationship exist for both related entities)
* **Parent entity logical name** : Logical name of the current form entity (required)
* **Background color** : Attribute to use as background color (optional / bound to an attribute)
* **Color** : Attribute to use as forecolor (optional / bound to an attribute)
* **Number of columns** : Number of columns to display checkboxes (required)
* **Grouping Attribute** : Attribute used to group records (optional / bound to an attribute)

0 comments on commit 3b78711

Please sign in to comment.