Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - spond

Pages: [1] 2
1
MP Server / Re: AFP2PDF conversion possibility using IBM CMOD REST APIs
« on: August 09, 2023, 12:51:33 PM »
REST uses the same Generic Transform Interface via ODWEK. You can specify the transformXML path to the xml file in the .tmpl or .conn file (see pages 11-12 of https://www.ibm.com/support/pages/content-manager-ondemand-rest-services ) to define the transform. Then you can call the named transform on the retrieve end point. See section 3.6.2 of the REST End Point reference. For example,

cmod-rest/v1/hits/<folder name>/docid?viewerName=<transform>

where <transform> = OD_AFP2PDF (or whatever you decide to name it in your xml file)

2
Content Navigator / Re: ICN CMOD docs do not display correctly
« on: August 09, 2022, 07:39:59 AM »
Depending on which version of ICN and CMOD/ODWEK you have installed, the default viewer map should work fine, provided you want the HTML Line Viewer as your view type (this assumes that your desktop has the Default viewer map selected). Incidentally, download as 'As UTF8' should also give you readable output. Download 'As original' is probably EBCDIC since this is JCL output.

You can check this by going to the ICN Admin desktop, select Viewer Maps and then double click the Default viewer map, Then scroll down to the 1st occurrence where the Repository Type is Content Manager OnDemand and the File type is application/line and verify that it shows Line Data HTML Viewer in the Viewer column. If this is correct, you likely already have a properly configured viewer map.

Make sure you are using a supported browser (pretty much everything but Internet Explorer).

If that all looks ok, check the browser console for any errors. You can launch the browser console by entering control+shift+i at the search results screen and then right-click on the doc and select Open. If you see errors in the browser console, you should reopen your case with IBM and them know what those errors are.

For what it's worth, there have been many changes to the HTML Line Viewer so if you are back level in either CMOD/ODWEK or ICN, I would highly recommend upgrading.


3
OD/WEK & JAVA API / Re: One Object to many Indexes
« on: August 08, 2022, 07:57:04 AM »
I think you could accomplish what you are trying to do with the ODFolder.duplicateHit method. Once you store a document, you could call duplicateHit as many times are you needed rows to point to that same document.

4
OD/WEK & JAVA API / Re: How install odwek v10.x only to linux?
« on: March 30, 2022, 09:01:00 AM »
The installer does not perform any configuration - it just lays down files.

There is a log file in /tmp that records the install/uninstall activities. For the 10.5 server install, its name is odmpv105log.txt.

5
OD/WEK & JAVA API / Re: How install odwek v10.x only to linux?
« on: March 29, 2022, 12:33:04 PM »
The GSKit (32-bit vs 64-bit) needs only to be matched by the Java you are running. So, if you're using a 32-bit Java, you will need 32-bit GSKit. If you're using 64-bit Java, you will need 64-bit GSKit.

Not sure what you mean by "are there risks for other applications lying on the same server". Would you please elaborate?

6
OD/WEK & JAVA API / Re: How install odwek v10.x only to linux?
« on: March 28, 2022, 09:56:09 AM »
Also, even though you need to install the whole package, you don't need to do any of the server configuration to use ODWEK.

7
OD/WEK & JAVA API / Re: loaAddDoc exception
« on: March 28, 2022, 09:54:30 AM »
@hmed

There was a (server-side) defect - PH38422 - that may be applicable to your issue. The APAR was included in 10.5.0.3/10.1.0.9. Is your server really at 9.5.0.12? If you can get to a supported version and you still have the issue, I would recommend opening a case with CMOD support.

@Manikandan

This one sounds to me like you have not added ARS_DOWNLOAD_TMP_DIR and ARS_DOWNLOAD_DIR in your ars.cfg. Please see the 'Server setup' section of https://www.ibm.com/support/pages/node/252987

8
Content Navigator / Re: referentiel not available
« on: November 09, 2021, 05:52:13 AM »
Hello,

The use of ARS_INSTALL_ODWEK_V101_DIR is not supported. If you are installed in a non-default directory, the supported way to tell ODWEK where is to pass the ODConfig.ODWEK_INSTALL_DIR field and install location to the ODConfig constructor. ICN provides these instructions to use the admin desktop to accomplish this here:

https://www.ibm.com/support/pages/ibm-content-navigator-cannot-connect-content-manager-ondemand-v90-if-web-enablement-kit-odwek-installed-non-default-directory

9
Also, forgot to mention ... if you want to create the input xml programmatically - here is some sample code

https://www.ibm.com/support/pages/sites/default/files/inline-files/xmlParse_2020-04-27.pdf

10
Yes! you can use the xmlParse() method to perform any administrative tasks that you can perform using arsxml. The 'xml' parameter allows you to specify the xml you want to process - this is the same xml that would be contained in the input file that is passed to arsxml (-i) only it is passed as a String object rather than in a file, the continueOnError parameter is the same as the 'error handling' flag that is passed to arsxml (-e), and the action parameter allows you to specify which type of action (add, update, delete, export, validate). Check the ODConstants for the action constants - for example OD_ARSXML_ACTION_ADD.


11
Could you clarify what you mean by 'ICN viewer'? Is this line data that you wish to have converted to PDF for end users?

12
Thanks for the thorough instructions!

Just a note - if you have installed OnDemand to the default installation directory as it appears you have (/opt/IBM/ondemand/V10.1), there is no need to add the ODWEK_INSTALL_DIR in the ICN Custom Properties section.

13
OD/WEK & JAVA API / Re: ODWEK version
« on: March 15, 2021, 02:08:52 PM »
I *think* ICN wants just the 'www' directory there rather than 'www/api' as you have shown.

14
To clarify ...

WietzeW is referring to the actual ODHit returned by the storeDocument operation during execution. What is returned there does not contain the server-generated values (refer to the 10.5 Javadocs I mentioned earlier), however, those server generated values exist in the AG row (database) that is stored for that document. A new *query* is required to access those values programmatically after the document is stored.

JD, what you're referring to is legacy data that was added to an AG that didn't have a Unique Id/Doc Hash field when it was stored (although you are correct, legacy rows are not auto-populated with server generated values).

15
I see this in the ODWEK Java docs for 10.5.

NOTE: If the Application Group contains fields for which the value is not provided by this call -for example, 'Unique Id' or 'Hash SHA-256' fields - but rather generated on the server when the document is stored, the ODHit returned by this method will not contain the server generated values. In order to access those values, a new query should be performed.

I don't see that update in the 10.1 ODWEK Javadocs, but it applies to both versions.

Pages: [1] 2