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

6.7k Views Asked by At

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 :).

2

There are 2 best solutions below

2
On BEST ANSWER

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.

0
On

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.