Is there a way to edit / add values to an existing ATD externally from a script or program? Thanks in advance.
You should be able to do that programmatically, but what would be the reason to do so? Do you have many CTDs with ATDs that need modified?
For example, if you look at the OOTB Task CTD’s “Priority” ATD, the CA_ValueList contains the possible values (Low/1, Medium/2, High/3). These values are stored in the “CA_ValueList” custom attribute on the “Priority” ATD object as a semicolon delimited string. Therefore, any jython script or KMAPI-based program could change the attribute.
See the “setAttributesFromCTD” method in pscripts/caltask/newCalendarEntry.py for an example of setting a custom attribute in the context of an ATD.
-Curtis
From: eLink Entry: Vignette Collaboration Developers Forum [mailto:vignettecollaborationdevelopersforum@elinkkc.opentext.com]Sent: Monday, November 18, 2013 3:43 PMTo: eLink RecipientSubject: How to edit or add more values to an existing ATD?
How to edit or add more values to an existing ATD?
Posted bysaravanan.arumugam@mbusa.com (Arumugam, Saravanan) On 11-18-2013 17:42
[To post a comment, use the normal reply function]
Forum:
Vignette Collaboration Developers Forum
Content Server:
Knowledge Center
Thanks Curtis,
my requirement is to give privilege to few users to edit / add more values to an existing ATD(Discrete) called Topics, is there any specific method to update the values for the ATD?