Book a Demo

Author Topic: Creating a 'memo' type attribute for a stereotype  (Read 6478 times)

Robert Sheridan

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Creating a 'memo' type attribute for a stereotype
« on: February 27, 2008, 02:28:14 am »
I have created a profile which exends the requirement element with additional tags.  I want to use it for recording responses from suppliers and so added a 'supplierResponse' attribute to the stereotype; however, I could only give it a type of char which is too small for the purpose.  Is there any way that I can give it a type of memo (we are using the MS Access backend) so that I have unlimited text storage for the tag (as there is for the notes field in the properties tab).

Thanks
Robert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Creating a 'memo' type attribute for a stereot
« Reply #1 on: February 27, 2008, 07:04:45 pm »
If you are talking about the value of tagged values (which I assume you are), you can use the notes of a tagged value to store more text.
The trick is to type "<memo>" in the value field. Next time you open the tagged value there will be a grey square with "..." at the end of the value field. You can use this to easely navigate to the notes.

Robert Sheridan

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Creating a 'memo' type attribute for a stereot
« Reply #2 on: February 27, 2008, 08:29:24 pm »
Thanks that worked well.  I set it up in the UML profile by adding an initial value of <memo> to the stereotype attribute.

When outputting to a RTF report you need to include the value field rather than the notes field, which works really well.
« Last Edit: February 27, 2008, 08:32:35 pm by RS »