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 contract automation platform built to help your team success
Can I use all of the features and configuration options in PrizmDoc Cloud-Hosted that I can in PrizmDoc Self-Hosted?
Currently, PrizmDoc Cloud does not allow for editing the server central configuration parameters, but the defaults have been set to allow for more complex documents that might otherwise fail in order to account for the lack of ability to modify these options.
After restarting the Prizm Services, you may notice that the http://localhost:18681/admin status page shows a status of “unhealthy” and in the Internal Services section, the mongo-manager-service is showing a clock, and the text-service is showing a red x.
http://localhost:18681/admin
How can this be fixed?
Reason:
This will typically occur when the mongo-manager-service detects an unclean shutdown and the cache gets corrupted.
How to Verify:
You can do a search in the C:\Prizm\logs\mongod.log file on Windows or the /usr/share/prizm/logs/mongod.log file on Linux for the word "unclean" and you may find the following error:
C:\Prizm\logs\mongod.log
/usr/share/prizm/logs/mongod.log
Detected unclean shutdown - C:\Prizm\cache\mongo-manager-service\data\mongod.lock is not empty.
Resolution:
Stop the Prizm Services. For PrizmDoc 13.3 and above, clear out all subfolders under prizm\cache (leave the prizm\cache folder). For PrizmDoc 13.2 and prior, clear out all files and subfolders under C:\Prizm\services\mongo-manager-service\bin\mongodb\data Start the Prizm Services.
Stop the Prizm Services.
For PrizmDoc 13.3 and above, clear out all subfolders under prizm\cache (leave the prizm\cache folder).
prizm\cache
For PrizmDoc 13.2 and prior, clear out all files and subfolders under C:\Prizm\services\mongo-manager-service\bin\mongodb\data
C:\Prizm\services\mongo-manager-service\bin\mongodb\data
Start the Prizm Services.
Currently we are using PAS for viewing packages and it is pointed to our Accusoft Cloud subscription API key. PAS is installed locally and we store the viewing package artifacts in our S3 bucket. We are using 600 GB of storage on S3 for the viewing package artifacts we already have converted.
We would like to start using Accusoft’s Cloud PAS API to create viewing packages and no longer wish to host our own PAS and have the following questions:
Is there a way we can migrate our current artifacts from our S3 bucket to Accusoft’s S3 bucket?
Is there an additional charge for storing the artifacts at Accusoft?
Is there a way to point the Cloud PAS to our existing S3 bucket?
Q: Is there a way we can migrate our current artifacts from our S3 bucket to Accusoft’s S3 bucket?
A: We do not currently offer an API for directly importing your existing viewing packages. However, you can re-create your viewing packages in PrizmDoc Cloud using the original source document.
Q: Is there an additional charge for storing the artifacts at Accusoft?
A: At this time there is no additional charge. However, this is subject to change.
Q: Is there a way to point the Cloud PAS to our existing S3 bucket?
A: There is currently no setting available to configure your PrizmDoc Cloud account to use an S3 bucket which you own. If you use PrizmDoc Cloud, the storage is managed by Accusoft. If you need to own and manage the storage yourself, you’ll want to use your own Self-Hosted PAS.
I have just installed PrizmDoc to my Windows server. When checking the status using http://localhost:18681/admin, the service is showing in a starting phase and ms-office-conversion-service is showing a clock icon, but it never starts.
ms-office-conversion-service
What are some reasons as to why this might occur?
This can happen if your PrizmDoc license has the MSO feature enabled and you do not have Microsoft Office 2013 or 2016 installed, or Office 2013 or 2016 is not activated.
To fix this issue you can either:
Or:
Switch PrizmDoc to use LibreOffice until you are able to install Microsoft Office by modifying C:\Prizm\prizm-serivices-config.yml and updating the line:
C:\Prizm\prizm-serivices-config.yml
#fidelity.msOfficeDocumentsRenderer: auto
to:
fidelity.msOfficeDocumentsRenderer: libreoffice
I changed the value of viewingSessionTimeout
viewingSessionTimeout
If you are using Windows, the value that you are looking to modify is the viewing.sessionLifetime in the central config file prizm-services-config.yml located in the root of the PrizmDoc installation directory (C:\Prizm on Windows, /usr/share/prizm on Linux).
viewing.sessionLifetime
prizm-services-config.yml
C:\Prizm
/usr/share/prizm
Make sure it is uncommented and without any leading whitespace.
Additionally, please make sure the viewing.cacheLifetime is greater than the viewing.sessionLifetime value.
viewing.cacheLifetime
More information can be found here.
You must restart the PrizmDoc service in order for your changes to take affect.
Where does PrizmDoc store E-Signatures and how can I retrieve them?
PrizmDoc does not store E-Signatures on the server. However, PrizmDoc does store them in the browser’s local storage so that an end user can use the same signature across multiple documents and multiple sessions within the same browser.
In the Viewer Sample, end users are able to save their individual signatures for their own record using the “Download Signature” button under the Manage E-Signatures menu. This will download a plain-text JSON file of the selected signature.
In the E-Signing Sample, if you want to retrieve the E-Signature from your own browser, you can open the developer tools (F12 on Chrome), go to the application tab, select local storage, and inside you can find the JSON of the E-Signature in the value of pccvEsignSignatures.
pccvEsignSignatures
In PrizmDoc, my document appears to be small on the page relative to the viewer. How can I fix this?
By default, PrizmDoc renders a PDF file according to the MediaBox, which is normally the same as CropBox, though sometimes this is not the case. The larger area you see in the PrizmDoc Viewer is the size of the MediaBox. Please note that the product provides the fileTypes.pdf.pageBoundaries control option (or useCropBox in the older versions) to change the default behavior. Try setting the option to cropBox in the Central Configuration File in order to get the PDF content rendered according to the CropBox. You can read more about configuring image frame rendering in our documentation here.
fileTypes.pdf.pageBoundaries
useCropBox
cropBox
For additional reading, see 7.7.3.3 on “User Space” of Adobe’s PDF 1.7 specification:
https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf
Note: In some older versions of PrizmDoc, there exists an issue where setting the pageBoundaries field to cropBox can cause light blurring/distorting on the page. This issue was addressed in version 13.4.
pageBoundaries
Why is the searchTasks endpoint returning an invalid JSON from very large requests?
Though no official size limit has been published, PAS will return a misleading invalid JSON error if you send in several thousand search terms at once. The exact maximum seems to vary across different installs. We have logged a story in our backlog about making a more explicit size limit possible, but there is no current plan to allow for PrizmDoc to handle search requests of unbounded size.
The best workaround for this behavior is to split your search terms between multiple requests, rather than packing them into one request.
When viewing documents within the PrizmDoc Viewer using a particular browser, we are seeing garbage text. Viewing the same document with other browsers shows the text properly. What could be causing this to occur?
There are two possible causes for this in Internet Explorer 11 and you can check the settings below to potentially fix the issue:
In Internet Explorer 11 settings, ensure the Font Download option is enabled:
Disable the “Turn off Data URI” support setting:
In Internet Explorer 11 settings, ensure Ignore font styles specified in webpages is not checked.
Ignore font styles specified in webpages
In Chrome this is a bug that was found about 3 years ago and fixed in Chrome Canary, but not in Chrome Stable at the time:
https://productforums.google.com/forum/#!msg/chrome/rpmz56gnFKc/nPLtsbYZBwAJ
This may be why Chrome is having problems. Consider either updating Chrome Stable to the latest version or testing in Chrome Canary to see if that fixes the garbage character issues with that browser.
In Mozilla Firefox there is a setting you can enable which could resolve this problem in that browser:
What is the proper way of using affinity tokens in cluster mode where multiple file IDs using multiple affinity tokens need to be combined?
If you are using PrizmDoc Server in cluster (multi-server) mode, and you are using Content Conversion Services to merge multiple files into one, or whenever multiple file ids using multiple affinity tokens need to be combined; your requests need to use a single affinity token. Because affinity tokens need to go in the header, you might think you are required to include all/both of the files’ affinity tokens in the header.
If you find yourself in this situation, the correct method is to re-use the first affinity token you get for all subsequent resources you create. For example, if you create a work file, you’ll get an affinity token back in the response. That affinity token needs to be set in the Accusoft-Affinity-Token request header of any subsequent resources (work files, content converter, viewing sessions, etc.) that you create later and want to use together.
Accusoft-Affinity-Token
An example is located here:
https://help.accusoft.com/PrizmDoc/latest/HTML/affinity-tokens-and-cluster-mode.html
The main takeaway here is that the initial request that is made to the server for a workfile will return an affinity token. This very same affinity token must be used in the header Accusoft-Affinity-Token for all subsequent requests in this conversion/stitching process.
The most relevant quote from that page is:
“In cluster mode, the PrizmDoc Server API will automatically generate an affinity token when it receives a POST request for a new ViewingSession, WorkFile, MarkupBurner, RedactionCreator, or ContentConverter resource and return it in the response. Once you have obtained an affinity token, you will need to pass this in with related requests using the Accusoft-Affinity-Token HTTP custom header.”
Here is a separate custom example of stitching two TIFF images together by converting them to a PDF.
First TIFF image
Request with no affinity token:
POST /PCCIS/V1/WorkFile HTTP/1.1 Host: prizmdocservername:18681 Content-Type: application/octet-stream
Response:
{ "fileId": "I3GRFEfrw_K8fX4VJ7Z1bQ", "fileExtension": "tif", "affinityToken": "ZSTudgjA42h1CVCj0KkGuYiKn5nEFhmFrvA0AkMxDxc=" }
Second TIFF image
Request:
POST /PCCIS/V1/WorkFile HTTP/1.1 Host: prizmdocservername:18681 Content-Type: application/octet-stream Accusoft-Affinity-Token: ZSTudgjA42h1CVCj0KkGuYiKn5nEFhmFrvA0AkMxDxc=
{ "fileId": "I-CTRdFnaL8FLNQDUawTHw", "fileExtension": "tif", "affinityToken": "ZSTudgjA42h1CVCj0KkGuYiKn5nEFhmFrvA0AkMxDxc=" }
Content Conversion
POST /v2/contentConverters HTTP/1.1 Host: prizmdocservername:18681 Content-Type: application/json Accusoft-Affinity-Token: ZSTudgjA42h1CVCj0KkGuYiKn5nEFhmFrvA0AkMxDxc= { "input": { "sources": [ { "fileId": "I3GRFEfrw_K8fX4VJ7Z1bQ" }, { "fileId": "I-CTRdFnaL8FLNQDUawTHw" } ], "dest": { "format": "pdf" } } }
{ "input": { "dest": { "format": "pdf", "pdfOptions": { "forceOneFilePerPage": false } }, "sources": [ { "fileId": "I3GRFEfrw_K8fX4VJ7Z1bQ", "pages": "" }, { "fileId": "I-CTRdFnaL8FLNQDUawTHw", "pages": "" } ] }, "expirationDateTime": "2018-10-03T19:12:52.005Z", "processId": "1u6k5Y_l7yRfhWyfL1t4Yw", "state": "processing", "percentComplete": 0, "affinityToken": "ZSTudgjA42h1CVCj0KkGuYiKn5nEFhmFrvA0AkMxDxc=" }
Content Conversion Request:
/v2/contentConverters/{processId} GET /v2/contentConverters/1u6k5Y_l7yRfhWyfL1t4Yw HTTP/1.1 Host: prizmdocservername:18681 Accusoft-Affinity-Token: ZSTudgjA42h1CVCj0KkGuYiKn5nEFhmFrvA0AkMxDxc=
Content Conversion Complete Response:
{ "input": { "dest": { "format": "pdf", "pdfOptions": { "forceOneFilePerPage": false } }, "sources": [ { "fileId": "I3GRFEfrw_K8fX4VJ7Z1bQ", "pages": "" }, { "fileId": "I-CTRdFnaL8FLNQDUawTHw", "pages": "" } ] }, "expirationDateTime": "2018-10-03T19:12:52.005Z", "processId": "1u6k5Y_l7yRfhWyfL1t4Yw", "state": "complete", "percentComplete": 100, "output": { "results": [ { "fileId": "tK4UbzryHWFoqOC6JJAjAg", "sources": [ { "fileId": "I3GRFEfrw_K8fX4VJ7Z1bQ", "pages": "1" }, { "fileId": "I-CTRdFnaL8FLNQDUawTHw", "pages": "1" } ], "pageCount": 2 } ] } }
Download The WorkFile:
/PCCIS/V1/WorkFile/{fileId} GET /PCCIS/V1/WorkFile/1u6k5Y_l7yRfhWyfL1t4Yw HTTP/1.1 Host: prizmdocservername:18681 Accusoft-Affinity-Token: ZSTudgjA42h1CVCj0KkGuYiKn5nEFhmFrvA0AkMxDxc=
When running PrizmDoc on multiple servers using self-hosted cloud licensing, why is the service randomly stopping on one server but not another?
When using cloud licenses, we require that the server running PrizmDoc has internet access. The server needs to communicate with the Amazon S3 bucket used for the license, and also to verify you are within the CPU core count you are licensed for.
If you are seeing the Prizm service stop on certain systems with this type of license, you can verify the following:
How can I enable content encryption in PrizmDoc Viewer?
First, you need to enable content encryption on the PrizmDoc Server in the central configuration file. To do this, find the viewing.contentEncryption.enabled section and change the value to true. Save the changes to the file and restart the PrizmDoc services for the change to take effect.
viewing.contentEncryption.enabled
true
The file paths for the central configuration file are:
Linux: /usr/share/prizm/prizm-services-config.yml Windows: C:\Prizm\prizm-services-config.yml
Next, you need to enable content encryption in the Viewer. To do this, in the index page of your viewer (Default.aspx in C#, index.php in the PHP sample, index.html, etc.), provide the encryption option in the viewer options parameter as follows so that the Viewer can handle encrypted data:
Default.aspx
index.php
index.html
function buildViewerOptions() { ... var optionsOverride = args.pop(); // always last arg var options = { ... encryption: true }; var combinedOptions = _.extend(optionsOverride, options); embedViewer(combinedOptions); }
For more in-depth information on enabling content encryption in PrizmDoc, please refer to our documentation here.