I’m brand new to AX development so forgive me if this is elementary.
I have a case where I’m adding a command button to a form’s command bar and I have an PNG file that I’m using as the button’s icon.
I am getting this to display perfectly by using the “Text & Image Left” ButtonDisplay attribute and the “NormalImage” attribute for the path of the image on the box in which AX is deployed.
However, if my 3rd party installer installs the image file to the bin directory of AX I’d like to reference that image file’s path in the XPO relatively. How do I go about doing this?
How do I go about doing this?
For instance here is the sample of my XPO entry for this button:
CONTROL COMMANDBUTTON
PROPERTIES
Name #myButton
ElementPosition #596523234
HierarchyParent #WorkerCustom
Text #Sample Text
ButtonDisplay #Text & Image left
NormalImage #C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin
ENDPROPERTIES