11-22-2023 01:11 PM
The document Type is a Image file format in the settings within Configuration. When using the Hyland API to post the Document a tiff is successful. When attempting to post a PDF it fails (Dig Console Error from APISERVER tab = Invalid file format: Unable to store PageData as FileType Image File Format). When changing the File Format to PDF it works as it should.
I then changed the file format back to a Image File format (bounced iis) the PDF was uploaded successfully- I then tested with a tiff again and that was successful - then tried the PDF and it then failed again.
I can import a pdf to the document type set to image file format and it works as normal
When using a API to import these documents into OnBase with Keywords - should I be able to use Image File Format for both PDF and tiff?
11-28-2023 10:17 AM
Hi
The type of file you upload to associate with the Document doesn't matter. The Document Management REST API should support all File Formats configured within OnBase.
You need to make sure that you include the correct fileTypeId within the POST /document request.
I would review the process under the archiving documents programmers guide ...
As well as the Document archive end point ...
Take care.
11-27-2023 02:32 PM
The system can view and store a variety of image
documents in the Image File Format, including:
24-bit TARGA(.tga), Amiga IFF(.iff), Brooktrout(.bt),
CALS(.cal), Clip(.clp), Bitmap (Compressed or
Uncompressed)(.bmp), DCX(.dcx), EPS Screen
Preview(.eps), GIF(.gif), JPEG(.jpg), Macintosh
PICT (Raster Only)(.pct), PCS(.pcx), Photoshop
Document(.psd), Sun Raster(.ras), TIFF (Group
III, Group IV, Huffman, LZW, Packbits, JPEGcompressed
or Uncompressed)(.tif), Windows
Icon(.ico), WMF (Raster Only)(.wmf), WPG (Raster
Only)(.wpg), X-Windows Bitmap(.xbm), X-W
So is there a way around the API not being able to post to a Image File Format as a inbound PDF
11-28-2023 08:30 AM
11-28-2023 10:17 AM
Hi
The type of file you upload to associate with the Document doesn't matter. The Document Management REST API should support all File Formats configured within OnBase.
You need to make sure that you include the correct fileTypeId within the POST /document request.
I would review the process under the archiving documents programmers guide ...
As well as the Document archive end point ...
Take care.
11-28-2023 10:36 AM
I would also recommend this easily missed rest call for grabbing the best guess file type:
Gets the "best guess" file type for upload based on a given extension.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.