Fetching Embedded resources in Microsoft Dynamics Ax 2012

Often there are questions regarding the location of embedded images within the Microsoft Dynamics Ax Rich Client.
For example, let’s say i want to assign a image from the base application then the priority is to use the images available in the base Ax 2012 application.

In Ax2012, these embedded resources are stored inside a table called SysImageResources.

Featured imageOpen the AOT  and navigate to the SysImageResources form. The SysImageResources are generated on the table through the class Image and the macro MaxNumofResources. the class image validates the maximum number of resources based on which the four columns are generated.

Featured image

In the init() method, in the SysImageResources form, the following line of code

  • Resource Id
  • Image
  • Transparent Image
  • Image Type

Open the SysImageResources form and this will open up the images in the format shown below.

Featured image

Check the Resource Id before adding it to the form design.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s