cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Continued Contributor
Continued Contributor

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
Super User III
Super User III

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
Super User III
Super User III

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

Continued Contributor
Continued Contributor

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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (4,155)