Adding a field type code component to a model-driven app
When a code component of the field type is deployed to a Dataverse environment, you can add it to your preferred form in a model-driven app. This transforms a regular field that traditionally contains text into a visualization provided by your code component.
We will be using the MyCharacterCounter code component that we built in Chapter 5, Code, Test, and Repeat, and will configure it on a form. First, you need to deploy this code component in your Dataverse environment; the deployment process was discussed in the Adding multiple code components in a single Dataverse solution section in the previous chapter. Now, using the following steps, we will change a default label and multi-line text box field into a character counter code component on the Contact entity.
At the time of writing this book, we are unable to use Power Apps Maker portal to add code components to a form. Due to this, we will be using a traditional interface...