metadataopentextlivelink

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


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


Solution

  • 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.