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 Automate / Save excel as xml data
Power Automate
Unanswered

Save excel as xml data

(0) ShareShare
ReportReport
Posted on by 16

Hello! 

I'm trying to save a excel sheet as a XML data document with "Save excel" activity.

If "XML data" is selected it requires a XML map input - question: what type of data needs to be the input for this item?

As far as I know XML map is a .xsd document.

 

The above steps is my work around for bulk import excel data into SQL.

Any suggestions are welcome.

Thanks!

I have the same question (0)
  • Karlis Profile Picture
    23 on at

    Hi Bogdanf

    I do not think there is an option to save an excel file directly as XML because you have to have a very specific format structure.

    It is possible to set up a text variable and then keep appending lines to it in the format you would like your .xml files to be and then use the action to save this text variable as an XML document (a .xml extension is normally used - .xsd is a certain schema of an .xml document).

     

    I do not fully understand what your excel input looks like and what output you wish to achieve but I would read the data from the excel document and set the variables in a specific text format that fits with .xml requirements.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    So, I can get it to save as test.xml using the 'Save Excel As' action:

    MichaelAnnis_1-1640096473511.png

     

    But I don't even know if that is importable to anything.

     

    I found an article that addresses your topic; there may be more work to do:
    https://www.brainbell.com/excel/xml-export.html

     

    Best of luck!

  • bogdanf Profile Picture
    16 on at

    yeah, you can also choose XML Data

    my questions remains: what type of value / argument XML maps accepts for Save Excel activity? is it a string containing .xsd file?

    bogdanf_0-1640194512802.png

     

    Many thanks!

  • bogdanf Profile Picture
    16 on at

    of course, it's a nice work around - but is my second choice. 

    as I replied to @MichaelAnnis, my question remains about the nature of XML map: argument in Save Excel activity when Document format: XML Data.

     

    Thanks! 

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I have never created an XML Map.  You will have to read this documentation:

     

    https://www.brainbell.com/excel/xml-export.html

     

    Best of luck!

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard