Build 2623 has been released. It includes support for text attributes that store colors. Such attributes can be edited with the Color Picker widget

Thanks!

Can you give an example of two of how this would be used?

  1. You define a text attribute with the property "Content" (former "Format") set to "Color" rather than default setting of "STANDARD"
  2. 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
  3. 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>
  4. If used in queries the system by default will display color boxes with actual colors
a year later

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 ..."

Color.PNG

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.

You can also easily pull the chosen Category.Color into another BO & Query:

Color2.PNG

5 years later