document viewer not displaying generated doc

0
hi, I have used the document viewer many times and always worked well, v2.5+, v3+ and now in v4.01 I keep getting the same message "-- The requested document was not found -- ". In deployment the file is there and when given the pdf extention I can open the file and see the pdf contents very well, but never outputs to document viewer form. My microflow is very simple and as I have done this many times now, I am sure I have not missed anything. Could this be an issue with v4.01? Has anyone spotted similar problem? regards, LR.
asked
1 answers
3

Found the issue. It was working when using directly the System.FileDocument, instead of inherited entity. We forgot the security settings for inherited entity.

Lesson learned... SECURITY - VERY IMPORTANT! :) Thanks. Can we close this one.

answered