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 / Powerapps customised f...
Power Apps
Unanswered

Powerapps customised form (from Sharepoint) connected to 2 sp lists but only want to submit all the data to 1 of the lists

(0) ShareShare
ReportReport
Posted on by 37

So I have a list in SP online I have decided to customise the form in PowerApps.  In the one form I am connected to 2 separate SP Lists.  I have some fields from list A and some fields from list B on the one form. What i want to do is when the user clicks the submit button on the form ALL the data from ALL fields all get submitted to List A.

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @Gskinner76 

     

    what is the difference between he 2 lists? are there the same columns in both lists? Do you want to use the Patch or Submitform function?

     

    thanks for giving details

  • Gskinner76 Profile Picture
    37 on at

    Hi The fields in list B do not exist in List A.  In List B I only have 2 fields Category and Sub Category which are used as drop downs in the form and are cascaded.  Hope this helps

  • Gskinner76 Profile Picture
    37 on at

    Also I currentyl have a button configured to just submit the fields from list a into list A.  I have never used the patch function but happy to be directed that way if it is the best or simplest way

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    and into which column do you want to save these values in the other list?

  • Gskinner76 Profile Picture
    37 on at

    i have created 2 columns as single line of text called category and sub category in list A for the values to be submitted to

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    the only way i see is that you use the patch function. for these 2 single line of text column just reference the dropdowns you have from list b

  • Gskinner76 Profile Picture
    37 on at

    As an update so i have used the patch function to submit the fields from List A into List A as shown below.  But how would i code the patch function to get the value in the fields from list B on the form and submit them into fields in List A

     

    Patch(
        Tickets,
        Defaults(Tickets),
        {
        Title:DataCardValue1.Text,'Issue description':DataCardValue2.Text,Priority:DataCardValue3.Selected
    }
    )
  • Gskinner76 Profile Picture
    37 on at
    does anyone know how to do this https://community.powerplatform.com/profile/?userid=2216e794-3e1d-4196-a6a5-466515a5595b Basically i am setting up an it helpdesk using the MS site template and created a powerapps form to submit requests but i needed a 2nd list to use on the form for cascading dropdowns for category and subcategory.  These two fields "category" and "subcategory." are on the form but from a different list.
     
    So how do i do the code on the submit button so it submits the data from the fields that are on the original list (connected to the form) and also these 2 extra fields into the same list

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 421

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 278 Super User 2026 Season 1

Last 30 days Overall leaderboard