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 / Accessing child Records
Power Apps
Answered

Accessing child Records

(0) ShareShare
ReportReport
Posted on by 115

I have a variable set based on the result of sending an SMS message. This is a Record with various child Records as shown below.

As I will only ever be sending one message, how can I get the first item from the 'messages' record so that I can get the value from the 'status' field.

 

This is the parent record:

sms1.PNG

 Going into the 'data' record give this:

sms2.PNG

 Going into the 'messages' record gives this:

sms3.PNG

 

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi, @DuncanIVH 

    If the last entity in  'message' record is a Record type ,you can use this to get the status:
    varSMSResponse.data.message.status

    If the last entity in  'message' record is a Table type ,you can use this to get the status:

    First(varSMSResponse.data.message).status

     

    If I misunderstand you, you can provide me with a more detailed screenshot and the results you want to get!

     

    Best Regards,

    Yueyun Zhang

  • DuncanIVH Profile Picture
    115 on at

    Thanks @v-yueyun-msft

    First(varSMSResponse.data.messages).status

    works.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard