hi guys,
when trying to make the call belwo getting an error
externalAttTemplate = docManClient.GetAttributeGroupDefinition(ref otAuth, "Category", "ExternalAtt");
please assist
This is the right syntax, but wrong arguments. Are you trying to get External Attributes to populate into externalAttTemplate?
From: eLink Entry: Content Web Services Forum [mailto:otdncontentwebservices971forum@elinkkc.opentext.com]Sent: Wednesday, May 31, 2017 2:33 PMTo: eLink RecipientSubject: Getting Error on 16.2 GetAttributeGroupDefinition
Getting Error on 16.2 GetAttributeGroupDefinition
Posted by Sivarajah, Dayan On 05/31/2017 02:25 PM
[To post a comment, use the normal reply function]
Forum:
Content Web Services Forum
Content Server:
Knowledge Center CS16
Are you able to provide further details and an explanation of what you are trying to accomplish by calling GetAttributeGroupDefinition()?If you are trying to get Category attributes, then typically the Key argument would be the DataID with a period followed by 1.e.g. docManClient.GetAttributeGroupDefinition( "Category", "123456.1")What is this "ExternalAtt" you reference?
Regards,Andre Roy
You may want to review the example posted here: https://knowledge.opentext.com/knowledge/cs.dll/fetch/-15106263/15106294/15106295/17990637/67792619/otherAtts_C#.html
If you want an External Attribute template, then you can call GetAttributeGroupTemplate() and pass in "ExternalAtt" for both the type and key.
externalAttTemplate = docManClient.GetAttributeGroupTemplate(ref otAuth, "ExternalAtt", "ExternalAtt");
Thank you..