Is the limit of 80 characters happening when you enter the data or when it is displayed in a diagram or in the project explorer view? If it is just a display issue, then this is a parameter you can change.
What I would like to have is the possibility to add to a (Requirement), an element that would be “free text” (in order to add to the (Requirement) a long description or a rationale,…)
The only elements that I can add today are “simple” types :
boolean
date
enumeration
real
String
integer
The alternative solution is to use the “text” thumnbail in the (Requirement) properties, but this is not satisfactory, as I would like to differentiate a description text from a rationale text, for example . Typically having the possiblilit to add elements like “text” to a (Requirement) is needed, as String is limited to 80 chars.
I have read the referenced page… but to be honest, I am struggling now with AQL.
1. 1st problem
The AQL scripts I have for VP Req display is the basic one, but it does not seem to create display as expected. For example the CR char (\n) is not effective … .the field contents are displayed without any line feed between them
"aql:OrderedSet{self.ReqIFLongName, self.ReqIFName, self.ReqIFChapterName, self.ReqIFText}->select(s | s != ‘null’ and s.size() > 0).prefix('- ')->sep(‘\n’)"
2. 2nd problem
I would like also to have the longName displayed in the label, but it is empty ?!? only the “R” icon is displayed in the label (without any text)
“aql:self.ownedAttributes->select( a | a.definition.ReqIFLongName == ‘IE PUID’).value”
I have tried also :
“aql:self.ownedAttributes->select( a | a.definition.ReqIFLongName).value”
but it does not work
3. add Req attributes in the display
I would like to have the “code” attribute (String) I have created for the (Requirement) to be displayed in the label … how to do this ?
I would like to have the “description” attribute (String) I have created for the (Requirement) to be displayed in the content … how to do this ?