cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cchan000
Level: Powered On

how to change the data source in powerapps?

hi. i have a powerapps form linking to a sharepoint site data source. how do i delete that data source and replace all instances of it with another sharepoint data source?

 

reason: i used a tutorial on this site and was able to export my powerapps form to another site. the new sharepoint site is exact mirror of the old site. the exported form carried over it's old datasource connection, just need to replace that part.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: how to change the data source in powerapps?

Hi @cchan000 ,

 

I'm afraid that is not possible currently. When you change the data source of the Form control, all before customized design for the data cards would be reset with the new data source.

 

The workaround so far is creating code components. For more information, please refer to:

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/overview

 

If you need this feature, consider to add an idea in below forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: how to change the data source in powerapps?

Hi @cchan000 ,

 

Is it a standalone app or a custom form created from SharePoint list?

 

You can delete the data sources from View > Data Sources > Select "..." > Remove

Capture.JPG

 

Then add the new data source from the same section.

 

But please remember to change the data source name to the new one in all the formulas in this app and the old column names to the new column names too. And it is recommended to delete the old data cards in the fom controls and then add with the new fields.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
cchan000
Level: Powered On

Re: how to change the data source in powerapps?

thanks! almost worked. is there any way to AVOID replacing all data cards? it loses the formatting and my design.

 

the new data source sharepoint has the exact same fields and values.

 

error.png

Community Support Team
Community Support Team

Re: how to change the data source in powerapps?

Hi @cchan000 ,

 

I'm afraid that is not possible currently. When you change the data source of the Form control, all before customized design for the data cards would be reset with the new data source.

 

The workaround so far is creating code components. For more information, please refer to:

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/overview

 

If you need this feature, consider to add an idea in below forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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
Top Kudoed Authors
Users online (2,982)