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 / 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
    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

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 739 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 268

Last 30 days Overall leaderboard