cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jensschroder
Microsoft
Microsoft

Workflow for updating a control

Hi,

 

Does anyone have a workflow for updating and publishing new version of a control?

 

It seems to be quite cumbersome and there is a lot of room for error from what I have found.

 

So, how do you publish a new version of a control to an environment?

1 ACCEPTED SOLUTION

Accepted Solutions

What specific part do you find cumbersome? 

 

If you are talking about deploying as part of ALM - have you seen - https://powerapps.microsoft.com/en-us/blog/automate-your-application-lifecycle-management-alm-with-p...

 

If you are talking about local development then you will need to msbuild the solution and deploy with the control version incremented - and then publish - you can't use pac push if the control version has incremented.

 

However, if you don't need to update the manifest you can use fiddler redirects to point bundle.js to a local version that is built constantly using 

npm start watch

 

View solution in original post

6 REPLIES 6

What specific part do you find cumbersome? 

 

If you are talking about deploying as part of ALM - have you seen - https://powerapps.microsoft.com/en-us/blog/automate-your-application-lifecycle-management-alm-with-p...

 

If you are talking about local development then you will need to msbuild the solution and deploy with the control version incremented - and then publish - you can't use pac push if the control version has incremented.

 

However, if you don't need to update the manifest you can use fiddler redirects to point bundle.js to a local version that is built constantly using 

npm start watch

 

View solution in original post

Thanks @ScottDurow for the pointers. Will look into those when I have more time 🙂

 

For now, my headache is that my control don't seem to update in my environment when incrementing the version in the manifest and using msbuild to build the solution and then publish it manually.

I might not be doing it correctly which is why I am curious how others manage the publish workflow.

I am guessing that the control namespace or version might have been affected either by the latest publisher update or some intermittent version bump in manifest. Can you check the these details in the name and version of the control in the application page. Easiest way to get out of this is to unconfigure the control and delete the component\solution and then publish again (with optional version reset). Control version bump drives the control upgrade and this is fundamental way the controls are updated in production so this should help elliminate your immediate concern, let me know. 

 

Thanks,

Hemant 

I have updated the version number the manifest fil and the control name is unchanged.

Still, the control does not update in my environment.

Did you unconfigure and uninstalled the control as per the suggestion above?

Alternatively , rename the control (manifest and Index.ts change) and get it installed as a brand new one.

Hemant

I removed the control from the app, delete the control from the solution and then deleted the solution.

 

My workaround has been to rename the the control, i.e. create a new control with a new name and publish that.

 

Is there not a simpler way? My controls are ending up with weird names and it seems to be a little bit complicated having to go through the process of creating a new control in order to update an exisiting one.

 

Br,

Jens

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,108)