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 / create a sharepoint li...
Power Apps
Answered

create a sharepoint list item with 2 datasources

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all, 

I would like to create items in a sharepoint list thanks to 2 databases : The sharepoint list itself and an Excel File. 

3 fields are Datacards from the Sharepoint column and the last one is a combobox from an Excel File in my OneDrive. When I submit the form, the 3 firsts fields are copied perfectly but I don't know how to copy my combobox. 

I tried to create a flow in order to update the field but the formulas isn't good.

Could someone help me ? 

It would help me a lot!

 

 

Categories:
I have the same question (0)
  • Verified answer
    Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    Your submit button is going to need a patch function for updating the Excel file. The form is only connected to the SharePoint data source so that is the only thing it can update. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I tried to add the patch function :
    Patch('Visitor List',First(Filter('Visitor List', Title = DataCardValue3.Text)),{VisitedPerson : ComboBox3})

    The error seems to be Combobox3. I would like the VisitedPerson column to get the Combobox3 text.

    Do you have an idea?

    EDIT : the correct formula is Patch('Visitor List',First(Filter('Visitor List', Title = DataCardValue3.Text)),{VisitedPerson : ComboBox3.Selected.Name})

  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    Nice. You beat me to it. I was just playing with the same thing. 

     

    Does you combo box allow multiple values? Does your formula work if you select 2 values? I was playing with the ConCat function thinking you might need it.

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard