OpenText Content Server Search API: Retrieve a file's category data via URL link in XMLformat?

六月ゝ 毕业季﹏ 提交于 2019-12-24 01:20:00

问题


I've been looking long and hard at documentation and have been googling non-stop but I am falling short.

I am using the OpenText Content Server Search API.

My goal: I would like to be able to fetch a file via URL, e.g. livelinkhost.mycompany.com?func=doc.fetch&nodeid=3670464"

HOWEVER, I would like to be able to grab that individual file's data stored in its Category section and output it as XML using &outputformat=xml

The documentation makes it seem like this is not possible and I feel I am perhaps missing something/going about it the wrong way, using the wrong API etc...

Any help would be greatly appreciated, Thanks :).


回答1:


You can get the category/attribute information as XML with the following:

?func=ll&objId=3670464&objAction=xmlexport&attributeinfo=true

XMLExport supports a few other parameters, but that's the minimum for getting the category information.




回答2:


Why dont you use the web service API provided by the OpenText for the Livelink Content Server? It is very simple to do for those kind of things.



来源:https://stackoverflow.com/questions/19839695/opentext-content-server-search-api-retrieve-a-files-category-data-via-url-link

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!