cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
clau0289
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
timl
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
timl
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

clau0289
Kudo Collector
Kudo Collector

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (28,819)