cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft Jensschroder
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
ScottDurow
Level 8

Re: Workflow for updating a control

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
ScottDurow
Level 8

Re: Workflow for updating a control

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

Microsoft Jensschroder
Microsoft

Re: Workflow for updating a control

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.

Power Apps Staff HemantG
Power Apps Staff

Re: Workflow for updating a control

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 

Microsoft Jensschroder
Microsoft

Re: Workflow for updating a control

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

Still, the control does not update in my environment.
Power Apps Staff HemantG
Power Apps Staff

Re: Workflow for updating a control

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
Microsoft Jensschroder
Microsoft

Re: Workflow for updating a control

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (10,807)