Book a Demo

Author Topic: Tagged values as RTF  (Read 13485 times)

supplyondemand

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Tagged values as RTF
« on: December 17, 2011, 01:26:09 am »
Is it possible to define a tagged value not just as text/char but as RTF like in the Notes box of an element?

I know how to use basic tagged values and how to define profiles. I also know that I could link external documents to an element, but I would like to have the information directly within the element.

Thank you.

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: Tagged values as RTF
« Reply #1 on: December 17, 2011, 01:38:34 am »
Yep set the type="memo" in your uml profile...

supplyondemand

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Tagged values as RTF
« Reply #2 on: December 17, 2011, 01:49:23 am »
Thank you very much, but could you be a bit more specific?

So far when I define a profile, I define the tagged values as Attributes in the Stereotype (which I link to the metaclass through the Extension relationship). Here I can only set types like "int", "boolean", "char" etc.
How can I set the "memo" type?

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Tagged values as RTF
« Reply #3 on: December 17, 2011, 01:57:20 am »
Step 1 - Define the TaggedValue using the main menu Settings | UML Types ...

type=Memo;

Step 2: - In your profile, use an attribute of the same name as your TaggedValue

Please note, you may have to export / import your tagged values in addition to your profile to all projects in which the profile is to be used

Cheers

Phil

Models are great!
Correct models are even greater!

supplyondemand

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Tagged values as RTF
« Reply #4 on: December 20, 2011, 07:05:17 pm »
Thank you, it works now!
Just to point out for others again: you need to set the "name" of the attribute to the value of the "Tag name" in "Settings - UML Types - Tagged Value Types", not the "type" (as I did).