OnDemand User Group
Support Forums => Content Navigator => Topic started by: venukotte on January 22, 2021, 08:20:31 AM
-
Hi Guys,
We are trying to launch icn document view url to view cmod reports from custom application. Here is the test url we are using.
https://server.com/navigator/bookmark.jsp?desktop=testcmod&repositoryId=testcmod&docid=_test_doc_id&template_name=Test_Reports&embedded=true
The question I had is the doc id which we are getting from odwek api from cmod is different than doc id which I found ICN is using to view documents. Is there any encryption ICN uses for doc id to view documents using url?
I really appreciate any insight or help on this?
-
Hi.
Yes, after CMOD v9.5.0.3, DocIDs are now encrypted to not only protect them from view, but also to stop them from being re-used or altered.
You can find the documentation on ODWEK's ODHit here: https://cmod.wiki/dox/ODapiDoc/v10.5/com/ibm/edms/od/ODHit.html
-JD.
-
Hello,
OnDemand has two api's to get doc ID's, getDocId() and getOpenDocId(). ICN uses getOpenDocId().
the explanation gets a bit tricky. Forgive me for not going into all the details. The important part is if your trying to build a ICN accessible URL you will need to use the getOpenDocId() api. Also note, be sure that the hostname defined to ICN for the CMOD repository matches what you are using in in your custom applications logon() call, otherwise you will get different doc ids and it will not be accessible by ICN.
Thanks,
RR
-
And here's a more direct link to CMOD ODWEK's getOpenDocId: https://cmod.wiki/dox/ODapiDoc/v10.5/com/ibm/edms/od/ODHit.html#getOpenDocId--
-
Thank you all for your responses.
Is there a different icn url for opendocid? if I try to use this url, it is not working.
https://server.com/navigator/bookmark.jsp?desktop=testcmod&repositoryId=testcmod&docid=_open_doc_id&template_name=Test_Reports&embedded=true
-
No, same URL. How are you generating the DOCID and creating the URL? I am assuming you have some custom ODWEK application that is generating them?
-RR
-
Forgive me, but asking the same question.
It used to be
https://www.ibm.com/docs/en/cmofz/9.5.0?topic=reference-document-hit-list-function (https://www.ibm.com/docs/en/cmofz/9.5.0?topic=reference-document-hit-list-function)
http://www.example.com/cgi-bin/arswww.cgi?_function=dochitlist&_server=myzos&_user=web&_password=web&_folder=credit%20card%20statements&account%20number=1000100010009999&date=1%2f1%2f96&date2=12%2f31%2f96&nameOP=256&name=%AA&_sort_field=Account,Account%20Balance,Date&_sort_order=A,D,A&_logoff=1&_html=template.htm
How do we use Navigator URL to view documents or provide a search list based on the following
(a) server name
(b) desktop id
(c)repository ID
(d) Folder ~ docID
(e)search criteria of the fields
https://www.ibm.com/docs/en/content-navigator/3.0.x?topic=client-constructing-url-content-navigator (https://www.ibm.com/docs/en/content-navigator/3.0.x?topic=client-constructing-url-content-navigator)
Example of an IBM Content Manager OnDemand search: http://myserver.mycompany.com:9080/navigator/bookmark.jsp?desktop=AccountsPayable&repositoryId=AP_OD_System&docid=AP_FOLDER&template_name=AP_FOLDER&embedded=true
The example shows docid as "AP_FOLDER"
Using that, I am not getting the URL but an error CIWEB1016.
I have a case on this error and waiting from IBM's help.