In constellation it is possible to view a PDF directly without having to download the file to see the contents. I appreciate this may be more of a platform issue but how have we gone about being able to view .DOCS or other files directly without downloading?
@IainTollemache this is no component in platform that does all this out of the box, either for UI Kit nor Constellation. As you can imagine, this is quite a complicated area.
- For PDF, you could look at the Pega Github for inspiration - there is a Display PDF component on there.
- Full document support, is trickier, as you can imagine there are extensions and third-party online services can enable viewing of other formats. There are a lot of things to consider with Licensing, file format and compatibility etc. If you’ve ever opened Word file in Google Docs or vice versa, you know how difficult providing “universal” viewer would be. You’re generally better off opening the file in the tool it was designed for.
Be good to understand your business outcome
- Are we trying to get a document into Pega? There are ways to pull data in to Pega to do that. Pegasystems Documentation
- Are we trying to “preview” a document you are sending from Pega? There are also ways you review the information you are about to send.