OpenText Content Server Search API: Retrieve a fil

2019-08-05 01:12发布

问题:

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.