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 Automate / Create SPO modern site...
Power Automate
Unanswered

Create SPO modern site page from HTML

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Long story short - I have word document which I want to recreate as a site page. I came across Encodian's ConvertWord
which can convert the word file to HTML. As far as I understand the HTML should be converted to JSON and then we can use the send http request action in power automate to create the actual page. However the output from ConvertWord looks like this which I don't know is it possible to convert to JSON. My main idea is to create a new site page (.aspx) with the content of the word document. If anyone has other ideas how this can be done I'll gladly read about them. Untitled.jpg

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So I managed to extract the html and plan to use the Script Editor Web Part and save the page, but the request takes too much time and eventually times out. Most probably the reason for this is that I'am missing the \\n and \\\ signs before new line and double quotes. Once I put them into the HTML everything is ok. My idea is to replace the double quotes with the ASCI characters, which is pretty straight forward. The big problem here is that the output gives everything in one line and there are no line breaks to replace with \\n. Any help or ideas would be much appreciated. The content I need

     

     

     

     

     

    <style type=\\\"text/css\\\">\\n 
    .awlist {\\n
    list-style:none; \\n
    counter-reset: awlistcounter 3; \\n
    }\\n
    </style>

     

     

     

     

     

    The  that I have

     

     

     

     

     

    <style type="text/css"> 
    .awlist{
    
    list-style: none;
    
    counter-reset: awlistcounter 3;
    
    }
    </style>

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    A little update on my situation. I replaced only the the double quotes with the asci code and this time the request got status 200 but the response was a json object with property Publish and value false. So I am a bit confused - how everything was ok, the flow run without error the request returned 200 but the changes were not published.

  • saregbesola Profile Picture
    2 on at

    You probably might have found a solution, but you can use xbridger document manager to achieve this easily.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard