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 / Getting record ID from...
Power Apps
Unanswered

Getting record ID from a related CDS entity in PowerApps

(0) ShareShare
ReportReport
Posted on by 37

Hello All

 

Happy Friday!

Is there a way to easily retrieve the ID of a related entity in CDS? 

The form below is displaying information from Account table. I want to get the ID of the Attachments associated to the Account.

 

 Is there an easy way to do it? One way I can think of is using Lookup to retrieve the Attachment ID from the Attachment table and store in Collection but I hit Invalid argument error when i try to do that.

 

Thanks in Advanced Smiley Happy

Categories:
I have the same question (0)
  • Meneghino Profile Picture
    6,949 on at

    LookUp() will retrieve a record, whereas if you have more than one attachment you will need Filter()

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard