cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Post Prodigy
Post Prodigy

How do I update a connection in PowerApps Studio DataSources?

I am deploying an App to live, and it has a number of updates that are performed using a patch command:

 

 

Patch(
         '[dbo].[TBL_JS_GOODS_IN_CONTROLSHEET]', 
         LookUp('[dbo].[TBL_JS_GOODS_IN_CONTROLSHEET]',ID = Selection.ID),
         { stBinLocation:lblSelectedProductState_1.Text,
           UpdatedBy:User().FullName,
           UpdatedOn: Now()
         }
   );

 

The connection is listed here in Data sources:

datasources.PNG

The connection to [dbo].[TBL_JS_GOODS_IN_CONTROLSHEET]' - when I hover here, shows that it is till pointing to the wrong connection.

How can I edit this?

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @stapes ,

I am a SharePoint user and all you do there is remove the old data connection, connect the new one and as long as all the field and table names are all of the same type and names, the app will carry on with the new data. I suspect this will work as well in SQL server.


Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @stapes ,

I am a SharePoint user and all you do there is remove the old data connection, connect the new one and as long as all the field and table names are all of the same type and names, the app will carry on with the new data. I suspect this will work as well in SQL server.


Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

stapes
Post Prodigy
Post Prodigy

This is the problem I am experiencing:

permProblem.png

If I could edit the connector I asked about I could amend it to point to the correct connection.

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.

Top Solution Authors
Top Kudoed Authors
Users online (1,129)