Dynamics 365 Custom Control Framework

Microsoft Dynamics 365 Customer Engagement introduces an outstanding feature Custom Control Framework (CCF) which has the capacity to create, or utilize existing controls, that give better approaches for both imagining and altering form data.

The Custom Controls Framework enables user to design controls which enables rendering of form components such as Fields on Form. Custom controls will be synchronously acting on data - on form load, and on update.

This feature has not been officially published by Microsoft and so at this stage it is for educational purpose only.

Let’s see how it looks

Screen Shot 2018-08-20 at 12.46.00 pm.png
Screen Shot 2018-08-20 at 12.46.13 pm.png

Pre-requisites

Custom controls Framework must be configured on "Interactive Experience" form

 

Steps to implement

1.     Add field on form and go to Field properties

2.     On Controls tab, click “Add Control”

Screen Shot 2018-08-20 at 12.52.00 pm.png

3. Select a control from the dropdown.

Note: Controls may vary depending on field type

In the below example, a whole number field is used

Screen Shot 2018-08-20 at 12.53.10 pm.png

4. By default, the new control will not be added to any of the interfaces.

So, select the control for the required interfaces

 

5. Fill in all the required(*) properties.

Min : Minimum value. Static/bind to a field on form.   Max : Maximum value. Static/bind to a field on form.   Step : The value by which the amount is incremented or decremented. Static/bind to a field on form.

Min: Minimum value. Static/bind to a field on form.

Max: Maximum value. Static/bind to a field on form.

Step: The value by which the amount is incremented or decremented. Static/bind to a field on form.

6. Set static values

Screen Shot 2018-08-20 at 12.55.43 pm.png

 

7. Alternatively, Set values by binding to a field value on form

Screen Shot 2018-08-20 at 12.56.33 pm.png

8. Save and publish the form once all controls are added

9. Change app to customer service app

Screen Shot 2018-08-20 at 12.57.36 pm.png

9. Open entity and check the field

Screen Shot 2018-08-20 at 12.58.26 pm.png