Author Topic: Defining Requirement Attributes Using a Profile  (Read 2553 times)

eriksmith200

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Defining Requirement Attributes Using a Profile
« on: October 21, 2010, 10:48:58 pm »
I'm trying to define a requirement type with tagged values using a profile, following the description in the white paper starting at page 44:
http://www.sparxsystems.com.au/downloads/whitepapers/Requirements_Management_in_Enterprise_Architect.pdf

I'm stuck on page 49, where it is described how to add tagged values. When I create an attribute for the tagged value, I want to define an enum type, including it's values and default value.
I'm only managing to add attributes with the standard data types.
Can anyone tell me what I'm missing?


eriksmith200

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Defining Requirement Attributes Using a Profil
« Reply #1 on: October 21, 2010, 11:11:27 pm »
Hm I think I might have partially figured it out, but can still use some feedback. I was skipping the step to create a tagged value type on the project level.

Apparently the process is as follows:
1. Create a tagged value by going in the main menu to Settings | UML | Tagged Value Types, and create a new one and specifying the Enum type and values in the details box (as described in the white paper)
2. In the profile definition, for the new requirement stereotype, create a new typeless attribute [highlight]with the same name as the new tagged value type from step 1[/highlight]
3. save profile, import, etc as described in the white paper

Can someone comment on whether this is the correct procedure?
One issue with this is that each time I create a new project in which I want to use the new profile, I have to redo step 1.
« Last Edit: October 21, 2010, 11:13:09 pm by eriksmith200 »

eriksmith200

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Defining Requirement Attributes Using a Profil
« Reply #2 on: October 22, 2010, 12:40:33 am »
One more question: how can I include my custom Tagged Values in an RTF template?

Fred Bevan

  • EA User
  • **
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: Defining Requirement Attributes Using a Profil
« Reply #3 on: October 22, 2010, 11:10:34 pm »
Use the "ValueOf" function to include the tagged values in an RTF report.

As for your main question, you you may want to consider creating an MDG technology. This approach has several advantages including:
- it lets you model your customizations graphically
- it provides more extensive capabilities for customization
- you can easily share your customizations

Here is a link to the MDG Technologies SDK

http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/modeling_languages/introduction_2.html