Skip to main content

Notifications

Community site session details

Community site session details

Session Id : MTIizryttWPxtvmL1ieg2l
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 51

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 39 Super User 2025 Season 1

#3
rzaneti Profile Picture

rzaneti 22 Super User 2025 Season 1

Overall leaderboard
Loading started