How do I store and retrieve documents in subdirectories of the configured documents directory in PrizmDoc PAS?

Modified on Sat, Jun 29, 2024 at 1:35 PM

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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article