modery / PowerDocu

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

Content cap? #28

Closed CruLazlo closed 2 years ago

CruLazlo commented 2 years ago

Ran this with a largish flow (184 actions). Smaller flows come out fine, but for this large one, the docx output will not show content past page 77 in Word. On the navigation pane the sections are there, but not navigable or viewable on screen. Can copy raw text into notepad and see full content, but of course no useful table styling. Is there something I can do different to view full flow detail?

modery commented 2 years ago

I have a Flow with a lot of actions (412!) that results in a 347 page document and experience the same issue as you. Opening it directly after converting it only shows 100+ pages, and Word fails to do much more after that (can't even scroll to those pages beyond).

I think I know what causes this issue, and one way to fix it is to select File-->Info-->Convert (under Compatibility Mode), confirm a dialog and then saving the file: image

Close the file after saving it, open it again and let Word finish opening it before you go to the pages towards the end of the document.

I need to do some further tests, but looks like as if the 2 images I include in the document cause these problems due to compatibility mode (fallback added for older Word clients (2010 and older) which I might skip if it turns out to be a problem). Will see if this can be fixed, but can't promise any date for this

modery commented 2 years ago

30mins later and my test was successful! Issue has been fixed mostly, though you still should open the document, save it, close and reopen it again. Will try to get a new version published within in the next few days Commit: https://github.com/modery/PowerDocu/commit/51a902bfca03e04ab81dc8c1f065d20b3a2fb859

CruLazlo commented 2 years ago

Your suggestion worked perfectly!

File --> Info --> Convert --> Close --> Reopen

Thankies!

Matthew Whittle - SharePoint Administrator, CPM, A+, Net+ Florida Department of Transportation - Central Office Office of Information Technology @. Chat with me in @.> @. How am I doing? Please contact my supervisor, Stacey Burns, at @*.**@*.***> with any feedback.

From: Rene Modery @.> Sent: Wednesday, April 13, 2022 2:28 AM To: modery/PowerDocu @.> Cc: Whittle, Matthew @.>; Author @.> Subject: Re: [modery/PowerDocu] Content cap? (Issue #28)

EXTERNAL SENDER: Use caution with links and attachments.

I have a Flow with a lot of actions (412!) that results in a 347 page document and experience the same issue as you. Opening it directly after converting it only shows 100+ pages, and Word fails to do much more after that (can't even scroll to those pages beyond).

I think I know what causes this issue, and one way to fix it is to select File-->Info-->Convert (under Compatibility Mode), confirm a dialog and then saving the file: [image]https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F15896715%2F163113130-055eb472-98cf-494b-a1c1-ba59edc7a117.png&data=04%7C01%7Cmatthew.whittle%40dot.state.fl.us%7C4750eef633fb4239aa9808da1d16c286%7Cdb21de5dbc9c420c8f3f8f08f85b5ada%7C0%7C0%7C637854280848073138%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=sn20qAhlXqhgMl3iPYsYqpjtX5YaQjPBleU%2BkMsdOZQ%3D&reserved=0

Close the file after saving it, open it again and let Word finish opening it before you go to the pages towards the end of the document.

I need to do some further tests, but looks like as if the 2 images I include in the document cause these problems due to compatibility mode (fallback added for older Word clients (2010 and older) which I might skip if it turns out to be a problem). Will see if this can be fixed, but can't promise any date for this

- Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmodery%2FPowerDocu%2Fissues%2F28%23issuecomment-1097607526&data=04%7C01%7Cmatthew.whittle%40dot.state.fl.us%7C4750eef633fb4239aa9808da1d16c286%7Cdb21de5dbc9c420c8f3f8f08f85b5ada%7C0%7C0%7C637854280848073138%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=WqofeklRW1LlPoLuBZQEm2%2FRAy5Q%2FVV9rKzVfy9KjJI%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYVWZATLTOXYF5253FOXFATVEZSPBANCNFSM5THRDNZA&data=04%7C01%7Cmatthew.whittle%40dot.state.fl.us%7C4750eef633fb4239aa9808da1d16c286%7Cdb21de5dbc9c420c8f3f8f08f85b5ada%7C0%7C0%7C637854280848073138%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vwZiVpW69F7o6e79CgeuV0iNZoN3mfmqnO67ecFs%2F0Q%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

modery commented 2 years ago

Release in which this has been fixed generally is now finally available: https://github.com/modery/PowerDocu/releases/tag/v-0.9.0