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 / How to record the Acco...
Power Apps
Unanswered

How to record the Account ID in the Contact Table

(0) ShareShare
ReportReport
Posted on by 2

Hi everyone

I'm trying to build a canvas application based on dataverse, to manage a list of customer (using Account table) and a list of contacts (using Contacts table)

For the time now, I can manage the customer (list and form), and same for contacts. I found how to display the contacts list refering to a customer

But I cannot found how to create the contact record with the Account ID I received in parameter

Could you help ?

Thank you

 

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Jean22 ,

     

    If you have no experience building canvas Power Apps, a good place to start may be to use the option to build an app, using the data source, the Contact table in Dataverse in your case. 

     

    In this tutorial you can find how to do that: https://www.youtube.com/watch?v=NzB0eT_0TcA

  • Jean22 Profile Picture
    2 on at

    Hi BCBuizer

    Thank you for your answer

    I'm sorry, I was not clear

    I was able to create 2 screens : 

    First with Accounts list on the left and edit form on the right -> ok

    Second with Contacts list on the left and edit form on the right -> ok

    I'm able to create and change and Account and a Contact

    When I select an Account, I want to open the Contacts list that are linked to an Account, and I think that it works fine : Navigate(Contact_Screen,ScreenTransition.Fade,{_Account: Gallery_Customer.Selected.Account})

    What I don't understand is, when I'm creating the Contact, how to link this Contact to the Account. I was expecting to found a field AccountID. I believe I have to use 'Company name' but I don't know how to populate this field with the Account ID I receive in parameter

    I tried to add a field 'Company name' in my Contact edit form, and in the field I have the message 'Add an item with the insert'. And I don't find what I have to do

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Jean22

    If you established the relationship with a lookup or in the relationships area, it is done automatically. Set the item property of the second gallery to Gallery1.Selected.Contacts

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard