How do I store and retrieve documents in subdirectories of the configured documents directory in PrizmDoc PAS?
You can retrieve documents from subdirectories when dealing with local files. Simply pass the subfolder in the fileName
parameter when creating the viewing session. You can test this by manually placing a document inside a subfolder and making the following POST
request:
`http://localhost:3000/ViewingSession`
{
"source": {
"type": "document"
"fileName": "folder/document.pdf"
}
}
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article