Posts

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 PCFSlid...

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...

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 --n...

Creating a solution package for your first PCF Control.

Image
Hello Guys, In our previous  blog   we have seen how we can create PCF control. Today we will see how we can create solution package and how to use this solution in D365 CRM. 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. We will be working with same project which we created in our previous blog.  First of all open command prompt and navigate to Solution folder which we created in our previous blog and run the below command. This will create solution package as shown below: Now run the below command for adding the reference of the our PCF component. Now run the below command for building the and restoring solution package. Once done run the below command which will create zip of the solution which is managed solution. This can be imported in CRM. Now import the solution. Once solution is imported, open the form editor in classic mode and select the field on which you want to...

Creating your first PCF control using Visual Code.

Image
Hello Guys, In our previous  blog   we have seen how to setup the environment for PCF control. Today we are going to see how we can create 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. First of all we will be creating one folder in our local drive where we will be storing our our PCF control and solutions. As you can see I have already created one folder named PCF which contains two sub folder named Controls and Solution. Now open command prompt and navigate to Control folder. Now we will be creating our first control. This control is of type text and will be used to display text. Create new folder by md command and  by using cd command navigate to this newly created folder. Now type below command for creating control. Here "TextFieldDisplay" is a namespace and "HelloPCF" is a control name. we have specified template as field which is a type of component....