Build 2623 has been released. It includes support for text attributes that store colors. Such attributes can be edited with the Color Picker widget
Build 2623
Thanks!
Can you give an example of two of how this would be used?
- You define a text attribute with the property "Content" (former "Format") set to "Color" rather than default setting of "STANDARD"
- If you put this attribute on a form Aware IM will generate a color-picker widget, rather than the standard text box.
At runtime the user will be able to pick a color as the value for this attribute - You can then use this color in tag expressions at various places in the system - in HTML, attribute styles etc.
For example, in HTML:
<div style="background-color:<<MyObject.ColorAttr>>"></div> - If used in queries the system by default will display color boxes with actual colors
a year later
- Edited
It's a year later, but I'm finally using this with Jaymer's help.
Very slick feature!
Nice to be able to set Presentation Rules on an attribute with one simple step. For example, on Category.Name attribute Presentation Rule:
background: <<Category.Color>>
Then by turning on "Use style defined ..."
the Category.Color picked in an instance of Category BO is used as the background color for Category.Name
That Color can then be used as Category is assigned to instances of Orders related to a particular Category.
- Edited
You can also easily pull the chosen Category.Color into another BO & Query:
5 years later