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 Pages / How to autofill lookup...
Power Pages
Unanswered

How to autofill lookup with form metadata attribute

(0) ShareShare
ReportReport
Posted on by

Hello,

I currently have an entity that has a lookup to another entity that is not the contact. The user will only ever have one record in the lookup so I just need the field to take their top record. Form metadata seem like the route to go but since this lookup isn't connect to the contact I'm having issues getting it set up. 

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

    Hi @Anonymous ,

     

    Could you please elaborate on your issue?

    Lookup to which entity?

    What does the top record mean?

    What does it have to do with Contact entity?

     

    Sik

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi

     

    if there is only one record in your lookup entity, I am assuming you already know the GUID of the record

    you can use Entity Form Metadata with the "Set Value on Save" feature, and just add the record GUID in there

    another option would be having a Workflow to the record create/update, so you can populate the lookup with your record

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Community Power Platform Member Profile Picture
    on at

    So 2 entities in question (both custom), Application and Bills. Both are part of a webform and a user fills out an Application before going to the Bills form. The Bills entity has a lookup to the Application entity to create a one(Application) to many (Bills). My goal is to have this field hidden and autofill to their application they just created.

    I've tried autofilling with a metadata attribute but I only get contact fields in the Prepopulate Fields and Set Value On Save sections which after more research is their functionality.

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 Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard