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 Apps / JS to populate value i...
Power Apps
Suggested Answer

JS to populate value in QuickCreate from subgrid when reference field is a lookup to another table

(0) ShareShare
ReportReport
Posted on by 69
Because of the above situation, mapping doesn't work.
  • Parent form field value is ppt_sitename which is a lookup to Account Name from the Account table.
  • Subgrid is: subgrid_pickupdata
  • Entity name that subgrid is based on: ppt_pickupdata
  • Field name to be populated in Quick Create form is also: ppt_sitename (which is also a lookup to Account Name from the Account table)
Assuming it should it fire on load of the quick create form?
 
Thanks for any help here!
Categories:
I have the same question (0)
  • Suggested answer
    Inogic Profile Picture
    1,135 Super User 2025 Season 2 on at
    Hi,
     
    You should try relationship mapping to automatically populate the value in the Quick Create form from the subgrid.
     
    If the mapping is correctly set up between the entities, the lookup field should carry over the value without needing custom JavaScript.
     
    Hope this helps.
     

    Thanks!

    Inogic Professional Services: Power Platform/Dynamics 365 CRM
    An expert technical extension for your techno-functional business needs
    Service: https://www.inogic.com/services/ 
    Tips and Tricks: https://www.inogic.com/blog/ 

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard