Book a Demo

Author Topic: Creating tagged value with eumerations via script  (Read 2939 times)

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Creating tagged value with eumerations via script
« on: March 19, 2010, 06:55:45 pm »
Hi,

Can some one share - Using script how to create tagged value with eumeration?

thx,
pH
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Creating tagged value with eumerations via scr
« Reply #1 on: March 19, 2010, 07:01:29 pm »
Resolved...Please see the code below

newTag = tags.AddNew( name, "");            
newTag.Update();                              
newTag.Notes = "Values: Yes,No,May be ";                  
newTag.Update();                  

<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

beginner

  • Guest
Re: Creating tagged value with eumerations via scr
« Reply #2 on: March 19, 2010, 07:13:11 pm »
You don't need the first update.

b.