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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,496)