How can I get a list of all image paths in a folder in Image Management?
You need to call ImageManager#getImages(<folder>)
, from the gateway scope.
http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/com/inductiveautomation/ignition/gateway/images/ImageManager.html
Unfortunately, you will 1. have to be in the gateway scope and 2. have access to the shared âgateway contextâ object.
If youâre in the designer, you can âcheatâ a bit, and use DTGatewayInterface.getInstance().getImageList(<component>, <path>)
- but this wonât work in the client.
1 Like
ThanksâŚI donât have my dev machine available, but I think this should work in a gateway-level tag. I need the list available in all of my projects, so I can just run it there using None for the component and filtering out the other columns.