web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Load datasource while ...
Power Apps
Answered

Load datasource while in app

(0) ShareShare
ReportReport
Posted on by 172

Hi community,

I have an app that creates some folders and lists in sharepoint.Now within the app i want to load these datasources once created to be able write on them.Can this be accomplished somehow??

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Mikellas ,

     

    Unfortunately, it is difficult to do it.

    We need to add data sources to the app during the design step.

    Maybe you can complete this part of the dynamic thing by using flow, but it may be a huge work.

     

    Best Regards,

    Wearsky

  • NM-06090901-0 Profile Picture
    172 on at

    Hi @v-xiaochen-msft and thanks for your reply. Can you please explain? if it's not worth it I might structure my data differently, but I am worried of loading times once lists start filling up...

  • Swordy068 Profile Picture
    24 on at

    The approach to loading a data source while within an app depends on the programming language, framework, and the type of data source you're using. Here's a general overview of common scenarios:-

    1. Pre-configured Datasource:-

    In most cases, data sources are configured before the app starts. This is because setting up connections to databases, APIs, or other data sources often requires credentials and specific configurations. These configurations are typically defined in separate files or settings that the app reads during startup.

    2. Dynamic Data Source Loading (Less Common):-

    There are some situations where you might want to load a data source dynamically within the app itself. This is less common due to security concerns and potential performance impacts. Here are a couple of approaches:-

    • Configuration Files:- You could have the app load configuration files at runtime that specify the data source details (connection string, credentials etc.). This can be useful if the data source configuration might change based on user settings or app environment.
    • User Input:- In some cases, the app might allow users to specify the data source details themselves. This should be approached with caution as it introduces security risks and requires proper validation of user input to prevent unauthorized access.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard