Posts

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

Using Clone a Solution for deleting solution components in D365 CRM.

Image
Hello Guys, In our previous  blog   we have seen how to clone a solution. Today we are going to see how we can delete component from the managed solution in target environment. 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 the same solution. As you can see, on production environment we have moved Blogger solution and it's patches. Now if we open the solution we can see below components: Consider a scenario you moved your managed solution to production environment and there are some components like flows, web resources, tables or columns that are not used any more.  Now as a result you may want to delete it from production environment. If you try to delete it from managed solution you are not able to do it. For example, we want to delete Training Comments column from the production environment. Let's see how to do that. Open Development environme...

Using Clone a Solution in D365 CRM.

Image
Hello Guys, In our previous  blog   we have seen how to clone a solution patch in D365. Today we will see how to clone a solution. 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 the same solution and components. As you can see in below image we have moved solution and its patch.  Now we will be creating one more patch of the solution and we will move one power automate flow using that patch. For time being we have already created patch of the solution as shown below: Add one Power Automate Flow inside the solution. Now we will export this solution and import it to Production. As you can see we have moved the patch. Now here if you notice we have one main solution and several patches of the same solution. If we will be moving lots of patches in the same way then it will create lots of patches and can vary size in DB. Microsoft Power Platform provides a...