In Dynamics 365, CRM Customizations need to be moved between CRM Environments for example from Development environment to Testing environment in the form of CRM solutions. And we are going to see about how to move crm Customizations in the form of solutions between Dynamics CRM Environments as unmanaged solution in Dynamics CRM using classic mode and through Power Apps Maker Poral. In this post , I did customizations in Contact Entity and created a field and included this field in the form. So, we are going to see how these customizations will be moved between different environments.
Let us see how to create a publisher in 2 ways
- Classic Way
- Power Apps Maker Portal [make.powerapps.com]
With Classic interface of Dynamics CRM, by following below steps we can create a solution.
Step 1 :
Login to the trial / D365 CRM Environment by giving username and password, if you want to know about how to create a trial environment you can refer to my earlier blogs and as shown below and click on Solutions.
Click on new solution , and then create a solution of your choice, here I have created ContactCustomizations with default publisher and save and close, publish all changes as shown below.
Now we are going to create a new field in Contact entity of Boolean type , so navigate to Settings->Customizations->Customize the System. Select Default Solution and in that solution select entity Contact and go to fields and in the right side fields view click on new in that contact entity as shown below
Create the following field Vaccination completed with Two Options Data type with options Yes and No and make No as Default and click on save and close as shown in the following figure as shown below
Now , select Information form from Contact Entity by using the navigation Contact Entity -> Forms-> Information Form and drag and drop above created field inside form from Field explorer at the right and click on save and Publish as shown below
Now , open Contact Customizations Solution which is created in Step 2 and select components and in the right side select Add Existing and then select Entity as shown below
After step 6, look for entity Contact and click on ok as shown below
After step 7, select Add All Assets Check box and then click on Finish Button as shown below.
After step 8, we can observe contact entity is added to our custom solution and then click on save and click on Publish All Customizations and then click on Export Solution , you should see one unmanaged solution zip file get’s downloaded as shown below
Note: After publishing all customizations only we have to click on export button.
After step 9, we have to login to local or development or testing environment and navigate to Settings -> Solutions .And in solutions select option import solution and give the exported solution zip file which is obtained from step 9 and click on open .
After step 10, once we click on open and then click on next ,another new popup will come click on import as shown below.
After step 11, once we click on import solution gets imported into new environment and then you should see newly imported solution in list of solutions and click on Publish All customizations to see changes in new environment in contact Form as shown below.
After step 12, now open contact record in new environment you should see changes that was performed in 1st environment as shown below.
2. Power Apps Maker Portal [make.powerapps.com]
In power apps maker portal [make.powerapps.com], open environment where you wanted to import your changes, here in this example I have selected my trial dev environment and go to solutions and click on import solution and click on Browse as shown below
Upon clicking on Browse, select unmanaged zip file which we have exported in step 9 and click on Next button as shown below.
Once user clicks on next, another quick screen will be shown there select import as shown below.
Once user clicks on import ,popup will gets closed and you could see message that solution is getting imported as shown below
Once solutions get’s imported successfully,you should see the solution imported once solution is imported , we can observe successful import message and click on Publish All customizations so as to make changes reflected as shown below figure
Now navigate in make.powerapps.com navigate to Data and then select Tables and select Contact Entity -> Data , select record and click on Edit record as shown below
Once respective record gets opened you should see the proposed changes from other environment successfully reflects in new environment as shown below
In this way we can easily move our customizations in the form of solutions either managed/ unmanaged from lower environment to higher environments by using both Classic Mode and also Power Apps Maker Portal.
2 thoughts on “Back to Basics # 6: How to Move CRM Customizations in the form of solutions between Dynamics 365 CRM Environments using classic mode and Power Apps Maker Portal.”
Pingback: Back To Basics # : Curated List of Articles in a Single Page – Common Man Tips for Power Platform, Dynamics CRM,Azure
Pingback: Back To Basics :Curated List of Articles in a Single Page - Microsoft Dynamics CRM Community