Join us for an engaging webinar, as we unravel the potential of AI for revolutionizing document management.
Watch Now
Enable your employees to remain productive throughout the document management process.
Read More
Learn how SmartZone uses a regular expression engine integrated into the recognition engine to achieve the best possible accuracy on data that can be defined by a regular expression.
Docubee is an intelligent contact automation platform built to help your team success
I am receiving a 401 Unauthorized when trying to use PrizmDoc Cloud. What could be the issue?
This error is likely the result of neglecting to specify your API key.
To fix this, specify your API key in the headers of your request to create a viewing session.
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:
fileName
POST
`http://localhost:3000/ViewingSession` { "source": { "type": "document" "fileName": "folder/document.pdf" } }
What is the absolute bare minimum I need to use PrizmDoc Cloud?
This will allow you to load a document via a URL using PrizmDoc Cloud. Just include your PrizmDoc Cloud API key in the POST request headers.
Please note: This is purely intended as a proof-of-concept. You should never include your API key in your client-side Javascript.
<!DOCTYPE html> <html lang="en"> <head> <!-- Metadata --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="description" content="" /> <!-- Title --> <title>AccuSample</title> <!-- Libraries --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css"> <!-- PrizmDoc CSS --> <link rel="stylesheet" href="https://raw.githack.com/Accusoft/hello-prizmdoc-viewer-with-nodejs-and-html/master/public/viewer-assets/css/viewercontrol.css"> <link rel="stylesheet" href="https://raw.githack.com/Accusoft/hello-prizmdoc-viewer-with-nodejs-and-html/master/public/viewer-assets/css/viewer.css"> <!-- Inline Stylesheet --> <style></style> </head> <body> <!-- #viewer --> <div id="viewer" class="pccv pcc-full-screen"></div> <!-- Libraries --> <script src="https://raw.githack.com/Accusoft/hello-prizmdoc-viewer-with-nodejs-and-html/master/public/viewer-assets/js/jquery-3.4.1.min.js"></script> <script src="https://raw.githack.com/Accusoft/hello-prizmdoc-viewer-with-nodejs-and-html/master/public/viewer-assets/js/jquery.hotkeys.min.js"></script> <script src="https://raw.githack.com/Accusoft/hello-prizmdoc-viewer-with-nodejs-and-html/master/public/viewer-assets/js/underscore.min.js"></script> <!-- PrizmDoc JS --> <script src="https://raw.githack.com/Accusoft/hello-prizmdoc-viewer-with-nodejs-and-html/master/public/viewer-assets/js/viewercontrol.js"></script> <script src="https://raw.githack.com/Accusoft/hello-prizmdoc-viewer-with-nodejs-and-html/master/public/viewer-assets/js/viewer.js"></script> <script src="https://raw.githack.com/Accusoft/hello-prizmdoc-viewer-with-nodejs-and-html/master/public/viewer-assets/js/viewerCustomizations.js"></script> <!-- Inline Script --> <script> let viewingSessionId; let viewerControl; $(document).ready(function() { $.ajax({ "type": "POST", "url": "https://api.accusoft.com/prizmdoc/ViewingSession", "headers": { "acs-api-key": "4lTamQVZmrkqZhH8cZhdu7L0xyhUa3gorcaCFQpA_zmuowZs4zoF39V4IckpnVW_" }, "data": JSON.stringify({ "source": { "type": "url", "url": "https://www.usability.gov/sites/default/files/creating-wireframes.pdf" } }) }).done(function(response) { PCCViewer.Ajax.setHeaders({ "acs-api-key": "4lTamQVZmrkqZhH8cZhdu7L0xyhUa3gorcaCFQpA_zmuowZs4zoF39V4IckpnVW_" }); viewingSessionId = response["viewingSessionId"]; // Initialize viewer viewerControl = $("#viewer").pccViewer({ "documentID": viewingSessionId, "imageHandlerUrl": "https://api.accusoft.com/prizmdoc", "language": viewerCustomizations.languages["en-US"], "template": viewerCustomizations.template, "icons": viewerCustomizations.icons, "annotationsMode": "LayeredAnnotations" }).viewerControl; viewerControl.on("ViewerReady", function() { console.log("Ready!"); }); }); }); </script> </body> </html>
Sometimes, when redacting an Office or PDF document, redactions drawn over certain content (such as an image or a logo) appears to get burned on other occurrences of the image on other pages. Why does this happen?
The reason why the duplicate redactions are occurring is because the images are shared images. In PrizmDoc, when a change is made to one instance of the shared image, it gets applied to every other instance. Per engineering, this is to mimic the behavior of Adobe Acrobat.
There currently exists a feature request to allow shared images to be treated as individual images so that they could be redacted separately:
https://ideas.accusoft.com/ideas/PDV-I-655
Can we give network paths for source document location as well?
For example //10.216.2.312/test/test.doc
//10.216.2.312/test/test.doc
https://help.accusoft.com/PrizmDoc/latest/HTML/webframe.html#Transfer_Your_Document_to_PrizmDoc_Server.html.
When using http URL, for security reasons, only absolute paths are allowed, but could you map test to documents and use a local file?
documents
Documents are stored by default in:
C:\ProgramData\Accusoft\Prizm\Documents
so if the type in the request for source is document it will look in that folder. The configuration for that is set in PAS config:
source
document
{ "source": { "type": "document", "fileName": "1040ez.pdf" } }