Skip to Content
0
Former Member
Jul 02, 2015 at 03:17 PM

Where to add a new image to action in product cockpit ?

199 Views

Hi Experts ,

I have created a new extension mycockpit. I have added a new action class by extending AbstractMultiSelectOnlyAction. The below code points to the image location in the class path

 public String getMultiSelectImageURI(Context paramContext) {
     // TODO Auto-generated method stub
     return "cockpit/images/download-icon.png";
 }

My concern is where exactly should the image be saved. We cannot save the image in cockpit extension as we are not allowed to modify OOTB code. I want to store image in mycockpit extension. How to do the same ?

If i create a web/webroot/mycockpit/images/download-icon.png , after ant and starting the server , the folder get automatically deleted.

Thanks,