The LAPI interface appears to be able to add new, update, delete, and link objects to Categories, but said nothing about retrieving a list of objects of a certain category.
Is this possible with lapi? If not, which way should I look?
Thank you.
This may be indirectly possible with LAPI however xmlsearchapi maybe easier(if search is working and configured correctly).LAPI can execute Live Reports.There are examples in the Knowedge base.A livelink object having a category defid 1234 can be found by doing
select * from llattrdata where defid=1234 if looking for a particular version you would do
select * from llattrdata where defid=1234 and defvern=<versionum of category object>
Now in this age of websvcs why do you want to develop using lapi?
Actually I might be looking at the wrong solution. I just need to run a one-time script to update all folders of a Category. It may as well be a SQL script, but I can't seem to find the tables that hold category information.
Can you piont me to the right direction please?
The livelink database is not conducive to be manipulated directly and you could end up owning a completely corrupt instance.If your skills are SQL then buy WebReports and do what you are trying to do.
You are absolutely right.
I see that category names can be retrieved from dtree table, and attribute values can be retrieved from llattrdata. Do you know where the attribute names are?
it should be cateregionmap A good articlehttps://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=3498953&objAction=ArticleView
problem solved, thank you.