Reputation: 1369
Trying to add a color picker to a field in Dynamics AX 2009. Found an article providing some very simple steps for creating the color picker as a lookup, but I can't get it to work.
When creating the extended data type, the FormHelp lookup doesn't include the function SysChooseColor, but it will accept the value if manually entered.
After adding a field using my color picker data type, the form renders a string edit to the page with a lookup icon. However, upon clicking the icon, the lookup window that appears is empty. Tried with and without a valid color value (#AAAAAA) in the field.
Here's the reference I started with: http://www.axaptapedia.com/Color_picker
Thanks
Upvotes: 1
Views: 2900
Reputation: 45325
Did you look at form JmgParameters?
On tab DisplayOptions you can find example of usage the color lookup form. See at element.colorLookup() method.
Upvotes: 1