<h3>Description</h3> <div xss="removed"> These special control files contain the POJOB-JSON format and can either be created manually via the area in PaperOffice "Document templates and storage masks", then "Manage storage masks" or using external scripts / applications. </div> <br> <p>For manual creation, go to the storage mask management as described above, create a new storage mask and click on "Export" in the storage mask overview to export the POJOB.JSON file. </p>
<br> <h3>Functional principle</h3> <div xss="removed"> <p> <a href="https://portal.paperoffice.ai/paperoffice/pt/kb/paperoffice-classic-dms">Check the JSON parameters of the PaperOffice API</a>
</p>
<p>
<b>1. Save files in the monitored folder</b><br>
</p><p class="remark yellow">The monitored folder must be set up with PIA "Switched off and optimized for bulk imports".
</p>
<p>
To do this, go to your settings and select "Automation and monitoring", then select "Add new monitoring" and in the next step the monitorable folder. <br>
After the folder has been selected, check the "Switched off and optimized for bulk imports" option.
</p>
<br>
<p>
<img src="https://api.paperoffice.ai/latest/knowledge/image/15/4f6fe844dcb5f2fed8a7be0d548db14d9a28c9c71bd4b51634cd88272107233f" alt="Folder monitoring PIA switched off and optimized for mass imports" width="700px">
</p>
<br>
<p> First save the pojob.json file and then the new document that is to be saved.</p>
<br>
<div uk-lightbox="">
<a href="https://api.paperoffice.ai/latest/knowledge/image/15/3b5e7c938c010ee7d76dbfa8a3e48008d112666756f8e188b6f76ed41d482a9c">
<img src="https://api.paperoffice.ai/latest/knowledge/image/15/3b5e7c938c010ee7d76dbfa8a3e48008d112666756f8e188b6f76ed41d482a9c" alt="tags" width="400px">
</a>
</div>
<br>
<p>
<b>2. Detect and assign POJOB file</b><br>
The name of the POJOB file is always identical to the target document, but with the ending pojob.json
</p><div uk-lightbox="">
<a href="https://api.paperoffice.ai/latest/knowledge/image/15/5de14a372d56c93c12c5832c0a3689fc032ed1941ea6262871fb2d2e99fc26dc">
<img src="https://api.paperoffice.ai/latest/knowledge/image/15/5de14a372d56c93c12c5832c0a3689fc032ed1941ea6262871fb2d2e99fc26dc" alt="print" width="400px">
</a>
</div>
<br>
<p>
<b>3. Get parameters from POJOB file </b><br>
PaperOffice takes all added parameters from the POJOB file and then removes it.
<br>
</p><div uk-lightbox="">
<a href="https://api.paperoffice.ai/latest/knowledge/image/15/37f3c89c6e2d843d3b65583783357d013970033c8a897a9a9267a02db46c89cc">
<img src="https://api.paperoffice.ai/latest/knowledge/image/15/37f3c89c6e2d843d3b65583783357d013970033c8a897a9a9267a02db46c89cc" alt="remove tags" width="400px">
</a>
</div>
<br>
<p>
<b>4. Finished! Document has been saved</b><br>
PaperOffice saves your document fully automatically according to all specifications.
<br>
</p><div uk-lightbox="">
<a href="https://api.paperoffice.ai/latest/knowledge/image/15/a175ddd0b1db77faab405eaac1d637db8b9a85c532a82313c23a4154f35ee5ed">
<img src="https://api.paperoffice.ai/latest/knowledge/image/15/a175ddd0b1db77faab405eaac1d637db8b9a85c532a82313c23a4154f35ee5ed" alt="remove tags" width="400px">
</a>
</div>
</div>
<br> <h3>Example for installation</h3> <p>PaperOffice will automatically save the document in accordance with all of the specified specifications. </p> <pre class="remark default">{ "document_name":"DOCUMENT_FILEPATH_FILENAME", "document_category_path":"rootdir_documents_public/APIMonitoring/YYYY/MMMM/From JSON file", "document_keywords":"Project station;purchase;goodwill", "document_type":"Invoice;Invoice unpaid", "document_state": { "name":"Urgent!", "bgcolor":"#FF0000", "fgcolor":"#FFFFFF" }, "document_contacts": [ { "name":"Cooperative Construction", "firstname":"Hans", "lastname":"Huber" }, { "name":"Electro Inc", "firstname":"Adolf", "lastname":"Cable" } ], "oncomplete_open_document":"true" } </pre>
<hr> <h3>Examples to try out</h3> <div xss="removed"> <p> You will find the test files prepared with POJOB-JSON control tags in the PaperOffice installation directory under „/lib/POJOB-JSON sample files/en“: </p> <p>
- /lib/POJOB-JSON sample files/en/Mein erstes PaperOffice Dokument.pdf
- /lib/POJOB-JSON sample files/en/Mein erstes PaperOffice Dokument.pdf.pojob.json </p>
<p>
1. Make sure that you are logged into PaperOffice.<br>
2. Copy <b>first</b> the .pojob.json file into the watchable folder. <br>
3. Only <b>then</b> copy the .pdf file into the monitorable folder.
</p>
<p>
PaperOffice will automatically save the document as a PDF document for long-term archiving (PDF / A) in accordance with all of the specified specifications.
</p>
</div>