Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
getobjectattributesex for old versions
ecmrocks
getObjectAttributesEx only takes the data ID for an input parameter. This means I can only get category attribute values from the current version of the document.How do I get category attribute values from a previous version?i.e.I have a document with a category called 'Category1'. This category has an attribute called 'test'. In version 1 of the document the value of 'test' is set to 'abc'. In version 2 of the document the value of 'test' is set to 'xyz'.How do I retrieve the value of 'test' from version 1, the 'abc' value?I can only seem to get the version 2 value 'xyz'Its like GetObjectAttributesEx function needs to take the version num as a param.Any suggestions?
Find more posts tagged with
Comments
sıɹɥɔ
Message from Chris Webster <
cwebster@opentext.com
> via eLink
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">eLink
Hi Christian,
The "objID" parameter to getObjectAttributesEx is an Assoc in which you set an "ID" value. This Assoc can also have a "Version" value set to specify a version other than the default current version of the object.
In your example if you set Version 1 into the objID parameter of the call, you should get the "abc" value you're looking for.
-chris
From:
eLink Discussion: LAPI Discussion [mailto:lapi@elinkkc.opentext.com]
Sent:
Monday, August 27, 2007 1:37 PM
To:
eLink Recipient
Subject:
getobjectattributesex for old versions
getobjectattributesex for old versions
Posted by
cpease
(Pease, Christian) on 08/27/2007 02:33 PM
getObjectAttributesEx only takes the data ID for an input parameter. This means I can only get category attribute values from the current version of the document.
How do I get category attribute values from a previous version?
i.e.
I have a document with a category called 'Category1'. This category has an attribute called 'test'. In version 1 of the document the value of 'test' is set to 'abc'. In version 2 of the document the value of 'test' is set to 'xyz'.
How do I retrieve the value of 'test' from version 1, the 'abc' value?
I can only seem to get the version 2 value 'xyz'
Its like GetObjectAttributesEx function needs to take the version num as a param.
Any suggestions?
ecmrocks
Thanks so much.