Monday, June 9, 2014

Action Class Sample In Maximo

In order to create an action class, you should extend the ActionCustomClass class. Here is a sample code for you.

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package custom.actions;
import java.rmi.RemoteException;
import psdi.common.action.ActionCustomClass;
import psdi.mbo.MboRemote;
import psdi.util.MXException;
public class customActionClass implements ActionCustomClass {
public customActionClass() {
}
public void applyCustomAction(MboRemote mbo, Object aobj[])
       throws MXException, RemoteException {
   //You should put your custom code here
}
}

Now, we will create an action under System Configuration -> Platform Configuration -> Actions. Choose Custom Classin Type field and then give our classpath.

No comments:

Post a Comment

Maximo Mobile - Receives error "The app does not exist" during data download

  STEPS: 1) Install Maximo Mobile from Google play store app 2) Enter URL 3) Click Log In RESULTS: On the Setting up page, navigator shows “...