Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

how to get values from json and create XML

Like (0) ShareShare
ReportReport
Posted on 2 Sep 2021 12:48:12 by 31

Hello!

I need an advice:

 

I've got an excel table, with I want to convert to XML.

I think that this can be done by something like:

- Get rows from Excel,

- For each row get values
- For each value add open and close tags like: <column_name>value</column_name>

compose

create file in SharePoint

 

I'm unable to get column names or array key names, with values to add tags..

 

How this can be achieved?

 

Thank you!

 

 

  • Dejmos Profile Picture
    31 on 02 Sep 2021 at 14:08:42
    Re: how to get values from json and create XML

    Is it possible to use variable value in 

    outputs('List_rows_present_in_a_table')?['body/value'][0]['variablename']


    I'm trying to get all elements in the array element 0, but for now, i only can get a specific value 

     

    outputs('List_rows_present_in_a_table')?['body/value'][0]['propertyid']

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 292 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 216

Overall leaderboard
Loading started