Puzzlepart / spfx-solutions

Free SharePoint Framework solutions by Puzzlepart
MIT License
86 stars 40 forks source link

Save as PDF not working under some folders - SharePoint Online #22

Open timhamba opened 4 years ago

timhamba commented 4 years ago

Hi,

I have an issue where under some folders on SharePoint online, the save as PDF function gets stuck on "processing". If I move the same file (.Docx) to a different folder the save as PDF function works fine.

The download as PDF function always works regardless of the files location. This leads me to believe it might be a permissions issue? I would just like to know if you have experienced a similar issue before.

I have tried to re-deploy the application as well.

wobba commented 4 years ago

Would help if you could give some info as to folder structure and folder names used. Also if you open dev tool F12, and look for errors in the Javascript console or network tab.

Hard to troubleshoot based on a very generic description.

timhamba commented 4 years ago

This came down to path length by the looks of things. If I just shortened the file name it saved fine. Believe its due to the path length limitation on SharePoint Online and not the app itself.

wobba commented 4 years ago

@timhamba thank you for testing this, and I might add a check for this, and see if it's possible to work around the limitation somehow.