modery / PowerDocu

Generate technical documentation from your existing Power Automate Flows and Power Apps canvas apps
MIT License
440 stars 73 forks source link

Problems with using Word docs for style formatting #54

Closed Dahnic closed 1 year ago

Dahnic commented 2 years ago

This error occurs when selecting a docx to use as a template for the flow. I've tried to use both a docx file created from a template, aswell as the default 'Blank document' docx created from within MS Word.

For the templated one i get the following error: Only one instance of the type is allowed for this parent:

image

And for the blank document i get this error: The specified package is invalid. The main part is missing.

image

The above errors are received when i select a file for the "Optional: Select a word template" (which btw doesn't allow for the selction of actual template files (.dotx) , but only regular word docs (.docx). If I opt to not select a template, the PowerDocu runs fine and spits out my doucmentation as intended.

And, tbh, the fonts and styling is not that important, other than it would be a nice touch to have the corporate branding for these documents. My main bother is that i would like there to be a Table of content in these files, as that would help to offer a quick overview of the contents of the flow documentation.

modery commented 2 years ago

Hi @Dahnic , found the error and started to fix it - might be resolved, but need to do some more testing first. Fix will be included in the next release (coming out sometime later this month)

Dahnic commented 2 years ago

Great to hear! Great work with this tool, it speeds up documentation work a lot and due to the nice structured output i've also managed to add subsequent automations for publishing and sharing it onto our internal Shareoint sites.

modery commented 1 year ago

Should be fixed now, latest release is available: https://github.com/modery/PowerDocu/releases/tag/v-1.0.0

Dahnic commented 1 year ago

I have installed the latest version and can confirm that it is working. Great work!