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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to work with Diffe...
Power Apps
Unanswered

How to work with Different Data source in the same form Power Apps

(0) ShareShare
ReportReport
Posted on by

Hello Experts , I am  new to power apps and building an app. my App is combination of two data source SQL and share point. some field fetch data from SQL and store in share point. As of now i have created one share point list with all the column i required. 

 

i want both type of field (fetching data from SQL and text input field) on the same form and after filling the form on submit button record should submit to the share point list. let me explain more by below example.

 

I have created one share point list and from that list power app is created at this moment data source for this form is share point list and whatever i will enter in text field it will store in respected list column,. i have 3 fields here name , Activity plan, Activity Phase and Activity Type these field i wan to fetch value from SQL with in the same form. as per my experience filed level data source we can not assign.  these filed will be drop down field and user will chose value and that selected value should store in share point list. in share point i have created these 3 column as choice type.

I am thinking of adding a dropdown input and link it to sql but in the same form i am not able to add dropdown input. i am avoiding creating a new form on the same screen. 

please advise how can i achieve this.

 

Thank you 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @Anonymous ,

     

    Could you please share more details about your scenario? Are you working with SharePoint list customize form?

     

    So if you are working with SP list customize form and that list have 3 columns which are choice type, but I don't get what you would like to achieve. Please provide answers to below questions:

     

    1\ Is that SQL Server data table storing activities with Activity plan, Activity Phase and Activity Type in other three columns?

    2\ Would you like to let users fill in Activities text input box and than retrieve corresponding Activity plan, Activity Phase and Activity Type from SQL Server table?

    3\ Would you like to let users choose Activity plan, Activity Phase and Activity Type in dropdowns or let the App auto-select these three dropdown values?

     

    As you have created 3 choice type columns which are dropdowns with the values you have pre-setup in the column settings, if users are creating new items in SP list, there is no need to link these dropdowns to the SQL Server table.

     

    Please provide more details of your scenario, especially what items are in SQL Server table and what need would you like to let users achieve with the App.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    on at

    Hello @v-jefferni , Thank you so much for looking into this issue. Fortunately i was able to achieve this. I have one share point list where i wan to store data from the App. As per my requirement few fields i am fetching from SQL as dropdown and these selected field i want to store in share point list. 

    My issue was when we create a form from SP list the form connection is SP , i was thinking if inside the form we want to add some field which is fetching data from SQL , that is not  possible. so what i did after generating the form from SP list the field i was expecting from SQL  , i have deleted only data card for those field and add one drop down connected to SQL view as this field was able to fetch data from SQL then other errors on the field was resolved by just replacing the dropdown name. 

    Users will only view field data and choose it ,  on form submission it will add to SP list. 

    I am good on this now , thank you Again.

     

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

    A form can only have one datasource that it saves to but the controls in the forms can get their data from any source, SQL, Excel Tables, SharePoint and > 250 other potential data sources that can be selected by using Comboboxes, Dropdowns and listbox controls. There should be no problem with  your requirement as far as I can tell. 

  • Community Power Platform Member Profile Picture
    on at

    Hello @Drrickryp , Thank you so much for the valuable details. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard