#Generate File from JSON
11 messages · Page 1 of 1 (latest)
Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:
- Adding an explanation of exactly what you're trying to achieve.
- Adding any and all related code or previous attempts.
- Describing the exact issue or error you are facing.
- Posting any screenshots if applicable.
- Reading through https://stackoverflow.com/help/how-to-ask.
When you're done with this thread, please close it. Thanks! ✨
(If you have a support agreement and need help, please contact the core team via email.)
You can do this using a Flow with a Script Operation
or if you implement a custom endpoint that actually runs the same code as you have to implement within the Flow
We don't have proper format to display pdf file? Event don't have pdf previewer?
Rendering a pdf is quite complex 😄 how should it display this within such a small window? what about multiple pages? So sounds simple, but it isn't that easy I would assume
Not render in small window, but in click of response (file name) at least open in new tab or etc..Without preview how does this userful?
I agree, but not everyone needs this, it's a headless cms, not an asset management app, you can extend it by your own display to make it render the PDF just as you would like to have
Last question before close this post: Instead of showing PDF, I was thinking to upload pdf first then specify link, so user can easily redirect. Do we have link facilty?
Again, this is done by a custom display. there exists already one: https://github.com/jacoborus/directus-extension-display-link
I'm using cloud community and URL type not exist on it.