App Studio - ChangeImage

Hello!

Does anyone know how Epicor populates this combobox of base images?

I see that the images are stored as .svg in this server directory (…\Apps\ERP\Home\assets\erp-img). I would like to add a custom icon. I know it was possible in the classic version using the Resource Editor utility.

I have access to the JSON code of every Kinetic interface in the MetaUI server folder, but I can’t find the code for the Application Studio Designer to understand what Epicor does to pull the images into the dropdown.

Merry Christmas to everyone! :christmas_tree: :santa:

Use the development tools, network tab of the browser to see what it’s calling. Usually F12.

No call over the network is displayed in the dev tools.

I found some references to the ChangeImage element in the compacted main.js (dev tools sources tab), but that’s not easy to decode.

I’m not sure if you’ll be able to add your own.
Looks like it’s a hardcoded list in some random JS file I found.

On the other hand, this is also in that file and is pulling based on the file name. :thinking:

I dunno. Do what you will with that. :slight_smile:

people chris odowd GIF