cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

custom action sdk

Former Member
0 Likes
187

I have problem having the picture assigned to my action block while developing my own action block

I am using below code (override)

public String GetIconPath() {

return "/icons/DynamicJCO.png";

}

My source path is CustomAction/src

My class is in /customAction/xxx.java

My picture is in /icons/DynamicJCO.png

The picture that I saw in workbench is black.

any idea?

Edited by: Seng Kiang Hoe on Oct 22, 2010 9:42 AM

View Entire Topic
former_member4529
Active Contributor
0 Likes

Hi,

As your icon and source files are not under the same root folder you can use the absolute path for the icon e.g. "/com/mycomp/mii/customactions/icons/DynamicJCO.png"

Thanks,

Dipankar