cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cchan000 Helper V
Helper V

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
Community Support

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
Community Support

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.
Highlighted
cchan000 Helper V
Helper V

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
Community Support

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (6,794)