cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jchfeng
Level 4

Can't execute custom action, class unavailable

Hi, I try a sample custom action by adding an action "Execute custom code", choose the jar file an then set the class name com.zerog.ia.customcode.installpanels.DisplayImage. But it hasn't been executed.

In the log file,
Custom Action: com.zerog.ia.customcode.installpanels.DisplayImage
Status: ERROR
Additional Notes: ERROR - class com.zerog.ia.customcode.installpanels.DisplayImage unavailable.

What's the possible cause?
Labels (1)
0 Kudos

(1) Reply
scarney
Level 5

You need to extend the 'CustomCodeAction'.

Your class declaration needs to look like:

package com.mycompany.whatever;
import com.zerog.ia.api.pub.*;
....

public class Foo extends CustomCodeAction {
....
}
0 Kudos