Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Category ID from LiveLink

Status
Not open for further replies.

samyak260590

Programmer
Feb 17, 2016
6
IN
How to get the Category ID from the LiveLink User Interface. I need this ID to call getCategoryTemplate operation.
 
From your posts it looks like you are a very new user who wants to do something with livelink. If you really wanted to know the categoryid in a livelink system.
From the GUI if you are on the "General" tab if you switch to categories you will see the URL turn into something like this

/llisapi.dll?func=ll&objId=170176241&objAction=attrvaluesedit&version=2&nexturl=%2Fllisapi%2Edll%3Ffunc%3Dll%26objid%3D164363628%26objAction%3Dbrowse%26sort%3Dname

Just for kicks I will explain what those are and how that can be read.

It is saying for the node identified by 170176241 edit the attributes for version 2 of the object and return me to where I came from(the next url)

when it does that an internal operation knows the category dataid and its version attached to it.

If you do a View Source and find the Category Name displayed there and look at the javascript function doSelectSchema you will see the category id that is defaulted or applied to the node.

Those are very inefficient ways what you should do and you ahve is.

1)get the NODE it is a very simple SOAP call.
2)Look for the METADATA of the node,if category is there it won't be null.One of the data structures has the category value.

In my blog I have several samples showing you how category metadata is parsed and updated
If you use REST API check developer.opentext.com there are methods that has similar info as well and is light weight programming


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
You caught me there. I am very new to LiveLink.
I need to integrate a third party system with LiveLink to publish the documents.
I need to attach certain attributes to the Document as metadata while publishing it.

Can you please help me with this?

SOAP UI is giving a message like this for metadata as part of CreateDocument SOAP call:
<urn1:metadata>
<!--Zero or more repetitions:-->
<urn1:AttributeGroups>
<!--Optional:-->
<urn1:DisplayName>?</urn1:DisplayName>
<!--Optional:-->
<urn1:Key>?</urn1:Key>
<!--Optional:-->
<urn1:Type>?</urn1:Type>
<!--Zero or more repetitions:-->
<urn1:Values>
<!--Optional:-->
<urn2:Description>?</urn2:Description>
<!--Optional:-->
<urn2:Key>?</urn2:Key>
</urn1:Values>
</urn1:AttributeGroups>
</urn1:metadata>

I am totally unaware of what values needs to be replaced with "?" above.

In LiveLink I have a Category and attributes are present in it. Need to attach the category to the document and pass the attributes while publishing.
 
SOAPUI payload will not help you there write a program in C# or Java and look at the SOAP message you can reverse engineer it for SOAPUI.I sure do not have time to write you a program.I have mentioned that the knowledge.opentext.com has sample programs,my blog has sample programs (or it had ).The assignment is very simple but the tool soapui is not very helpful here.

As I keep trying to say RESTAPI is more easier for your type of programming.

BTW Attachment using DM webservice is only for very low KB documents.For higher KB items that is not the method.It is explained in detail
in the programming guides.I would try to write the integration using ContentService methods

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top