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 / Forms choose alternati...
Power Apps
Answered

Forms choose alternative source for DropDown control

(0) ShareShare
ReportReport
Posted on by 356

I have a Sharepoint List, with most of the Columns being Lookup Columns from other Sharepoint Lists. While this works great, as in the Form working correctly as one would expect with the DropDowns populated correctly, the performance leaves a lot to be desired i.e. everytime clicking on a DropDown, it takes a few seconds to populate the DropDown list.

 

While I can create Collections locally on the device from the SP lists, is there a way to point the DropDown to the locally stored Collection instead of retrieving it from Sharepoint?

 

Main reason I chose to use Forms was to get the LastSubmit.ID for the new record created when the Form is submitted. As an alternative is there a way to get the ID of the newly Created ID when using something like "Patch" instead of Forms?

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

    Hi @UB400,

     

    If the dropodwn controls are working with SharePoint Lookup field, then take use of collection may not so easy to make it work.

    I think you should already noticed that Lookup field are record type, see the following thread for how to deal with Lookup fields using patch:

    How to patch SharePoint List Lookup field, such as people, choice, or the custom Lookup column type 

     

    The example of the Lookup field in PowerApps is as below:

    {
     '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id :8,
     Value :"235"
     }

    Further, to get the newly created ID field, I think it is better to use the Form.LastSubmit property, as other methods would need to start a new query to get the updated record.

     

    Regards,

    Michael

  • UB400 Profile Picture
    356 on at

    @v-micsh-msft thanks for the response, I'm familiar with using Patch with lookup records, I was just hoping that there was a way to retrieve the ID of the newly created Record in a similar fashion as LastSubmit for Forms.

     

    Is there a way to point the DropDown column in a Form to another Source rather than the original list that the Form is associated with? Basically I'm trying to improve the performance, currently clicking on the drop down takes time to load the options in the Dropdown.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @UB400, Patch returns back the item created and the only way to access it is to collect it at the moment of the patch.

     

    So the formula would be something like this:

    Collect(createdItem, Patch(Destination, Defaults(Destination), {
     column1: value1,
     column2: value2
     }))

    After that your 'createdItem' collection should contain the entire object created and you should be able to access what info you need from there.

  • UB400 Profile Picture
    356 on at

    @AnonymousYou're a GENIUS! That is awesome, thank you so much. In one fell swoop, you've eliminated one of my biggest headaches!

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

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard