문제

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

도움이 되었습니까?

해결책

Did you look at form JmgParameters?

On tab DisplayOptions you can find example of usage the color lookup form. See at element.colorLookup() method.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top