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 / I settled a dropdown t...
Power Apps
Answered

I settled a dropdown to show the name attribute of a SharePoint list relationship instead of the ID but now It does not save the relationship

(0) ShareShare
ReportReport
Posted on by 41

Hello everybody,

 

I am making a PowerApp using SharePoint list that has relation ship between them. In this scenario there are two elements with this relation:

Oportunidad N : 1 Cuenta

For so in the Oportunidad list there will be many elements that can have the same "Cuenta" as variable value for the relationship attribute.

 

The default controller for the relationship with Cuenta showed the IDs of the relationship but that element has a property 'Name'. I want to be displayed the names to better identify the elements. I finally achived that but now if I change the value It doesn't store the new relationship value.

 

These are the value for data  the DataCardValue

AlexBlanes_0-1629989444144.jpeg

These are the values of the parent DataCard

AlexBlanes_2-1629989520519.jpeg

 

This succesfully shows the names

AlexBlanes_3-1629989564795.png

 

 

 

Using the PowerApp monitor I can filter the request in charge of making the update and I watch this:

AlexBlanes_4-1629989765161.png

There is an empty id where It should be the new Id I guess.

 

I thing It has to be something related to the Update  of the DataCard. It should have something like this:

AlexBlanes_5-1629990668577.png

But the error says : Record Expected

 

Thanks in advance,

 

 

 

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @AlexBlanes 

    You need to provide a record for your lookup column in the Update property.

    Change your Update property to the following:

    With(DataCardValue26.Selected,
     {Id: ID,
     Value: Name
     }
    )

    This assumes that Name is the column from your CuentaTest list that you are using in the relationship of the lookup.  If not, change accordingly.

     

    I hope this is helpful for you.

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard