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 / data source one sharep...
Power Apps
Answered

data source one sharepoint list, write to another

(0) ShareShare
ReportReport
Posted on by 44

Hello,

 

i have one SP list1 where i have collunm "parts", this one i would like to use as soure for combobox which is in SP list2 in editform1

open combobox and choose items which are in collunm "parts.

 

on the other hand i have Second Sp list2 - collunm "parts1" where i have editform1 and in it i have this combobox - the items of it - SPlist1 and dispaly and search fields are "parts"

 

i would need to have in combobox - data source - SP list1 - "parts", where i can find items and basically save them to SPlist2 to colunm "parts1"

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @11playto16,

    Do you want to populate the ComboBox corresponding to parts1(SPlist2 ) with the parts(SPlist1)?

     

    Actually, if the parts column is a single-line-of-text type, you could format this parts1 column as a LookUp type, so that you could use the parts column values directly in this ComboBox within the EditForm1, just need to set the Items property as:

    Choices(SPlist2.parts1) 

     

    If you don't want to format this parts1 column as a LookUp type, well, you could set the ComboBox Items property as:

    Distinct(SPlist1,parts)

    Then set the Update of this parts1 data card as below:

    {Id:LookUp(SPlist1,ID=ComboBox.Selected.Value).ID
     Value:ComboBox.Selected.Value
    }
  • 11playto16 Profile Picture
    44 on at

    Hi @v-qiaqi-msft,

    yes i want to populate those two.

    Choises(SPlist2.parts1)

     

    this instruction just add me to combobox values from SPlist2, but still when i submitform, i do not have anything saved in SPlist1, Could you also help me with that ? 

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @11playto16,

    "i would need to have in combobox - data source - SP list1 - "parts", where i can find items and basically save them to SPlist2 to colunm "parts1"

    You mentioned that you want to save data to SPlist2 instead of SPlist1, please read my reply one more time.

     

    If you have a LookUp column to retrieve parts column values directly from SPlist1 parts column, you need to set the Update property of the part1 data card as below:

    ComboBox.Selected
  • 11playto16 Profile Picture
    44 on at

    i did something previously and forgot to change update property

    Now it works,

    Thanks

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard