cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kudo Collector
Kudo Collector

Dynamic Data Source

I have created an app for a certain SharePoint site. I am using this same app for other SharePoint sites that have the same structure (tables, columns, etc.) To do this I know have to save the app with another name and replace the data source manually inside the app editor. It would be perfect to have just one single app where I can give the SharePoint site url, or site tables when opening the app.

Do you know if this is possible?

An idea that comes to my mind would be to have the user select the SharePoint that he wants to connect to and do the data source connection relative to the user's choice.

Please let me know if this can be done! 

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi @clau0289

Unfortunately, it isn't really possible to carry out what you want to achieve.
I think if PowerApps provided the ability for users to dynamically change a data source at runtime, it would be a great addition to the product.
The workarounds that people use generally use involve adding all possible data sources to an app and providing some dropdown to load the data source into a collection. The app would then work off the data in the local collection, and there would be conditional statements to save changes into the correct data source.

https://powerusers.microsoft.com/t5/General-Discussion/Dynamically-changing-Gallery-source/m-p/11666...

View solution in original post

2 REPLIES 2
Super User III
Super User III

Hi @clau0289

Unfortunately, it isn't really possible to carry out what you want to achieve.
I think if PowerApps provided the ability for users to dynamically change a data source at runtime, it would be a great addition to the product.
The workarounds that people use generally use involve adding all possible data sources to an app and providing some dropdown to load the data source into a collection. The app would then work off the data in the local collection, and there would be conditional statements to save changes into the correct data source.

https://powerusers.microsoft.com/t5/General-Discussion/Dynamically-changing-Gallery-source/m-p/11666...

View solution in original post

Thank you for your answer.

 

I have create an idea in the Ideas Forum hoping this will be implemented soon. I would love if you could support it and maybe spread the voice.

Here's the link.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Dynamic-Data-Source/idi-p/178095#M7015

Thank you again,

 

Claudia.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (27,248)