Book a Demo

Author Topic: UML Profile memo data type  (Read 4439 times)

rupertkiwi

  • EA User
  • **
  • Posts: 133
  • Karma: +5/-0
    • View Profile
UML Profile memo data type
« on: April 08, 2019, 11:13:10 am »
Hi there,

How do I create a datatype of memo for an attribute in a UML Profile?

I have extended a Class stereotype with additional tags, but the only data types I seem to be able to select are :

Boolean
byte
char
double
float
int
long
short

I need to store a large amount of text data which is why I wanted to create the memo datatype. Or can any of the above data types be used?

thanks,
Rupert

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: UML Profile memo data type
« Reply #1 on: April 08, 2019, 11:28:03 am »
Ignore the type field; just give your attribute an initial value of '<memo>'.
The Sparx Team
[email protected]

rupertkiwi

  • EA User
  • **
  • Posts: 133
  • Karma: +5/-0
    • View Profile
Re: UML Profile memo data type
« Reply #2 on: April 08, 2019, 12:17:23 pm »
Thanks KP.

I am trying to import in some text fields via a script but I keep getting the error message below:


Runtime error '-2147221504 (80040000)':
DAO.Field [3163]
The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.


I tried changing the data type to memo but I am still getting this error message. How do I fix this?

Thanks,
Rupert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: UML Profile memo data type
« Reply #3 on: April 08, 2019, 01:31:30 pm »
Rupert,

For a "memo" tagged value you have to enter the data into the notes field.
The value field is only used to contain the string "<memo>"

Geert

rupertkiwi

  • EA User
  • **
  • Posts: 133
  • Karma: +5/-0
    • View Profile
Re: UML Profile memo data type
« Reply #4 on: April 08, 2019, 03:03:59 pm »
Thanks for your help Geert.

That did the trick