Posts

Showing posts from July, 2023

Creating PCF control using range input element.

Image
Hello Guys, In our previous  blog   we have seen how we can use resources for designing PCF control. Today we are going to create range control which can be used to provide Age value in D365 field. Do follow us to know more about Dynamics and Power Platform.  Also if you like our blog then please comment and share this blog with your friends. In our previous blogs we have seen how we are giving value to the Age control by using increment and decrement button. Now we will be creating a range slider control to provide the age value. As we have two folders named control and solution created for PCF controls in our previous blogs. Create a folder named PCFSlider folder in control folder and PCFSliderSolution folder in solution folder. Open CMD and navigate to PCFSlider folder and run below command for creating PCF control. This will create PCF project. Open the project using Visual Code. Replace the code in ControlManifest.Input.xml file as shown below: Right click on PCFSlider folder and

Using resources for designing PCF control in D365 CRM.

Image
Hello Guys, In our previous  blog   we have seen how we can create PCF control which will validate the input provided by the user. Today we will see how we can use resources for designing PCF control.  Do follow us to know more about Dynamics and Power Platform.  Also if you like our blog then please comment and share this blog with your friends. Consider below scenario where we have Age field. Currently we are entering Age value manually. We will be creating a PCF control which will be a button. Whenever user will click on that button Age will be incremented.  As we have two folders named control and solution created for PCF controls in our previous blogs. Create a folder named PCFIncrement folder in control folder and PCFIncrementSolution folder in solution folder. Open CMD and navigate to  PCFIncrement  folder and run below command for creating PCF control. pac pcf init --namespace Increment --name  PCFIncrement  --template field This will create PCF project. Open the project using

Creating PCF control for validating input in D365.

Image
Hello Guys, In our previous  blog   we have seen how we can create solution package and how to use this solution in D365 CRM. Today we will create one PCF control which will validate the input provided by the user. Do follow us to know more about Dynamics and Power Platform.  Also if you like our blog then please comment and share this blog with your friends. Consider below scenario where we have Student Table. Here we have various columns like First Name, Last Name etc. As you can see First Name is mandatory field whereas Last Name is not mandatory field. We will be creating a PCF control which will display a message if Last Name field is blank.   As we have two folders named control and solution created for PCF controls in our previous blogs. Create a folder named PCFInputText folder in control folder and PCFInputTextSolution folder in solution folder. Open CMD and navigate to PCFInputText folder and run below command for creating PCF control. pac pcf init --namespace InputText --nam