Hello,
We have a unique requirement of hiding a few work order status values from the cloned work order tracking app (please note that they don't want to it globally - but only for the cloned work order tracking app).
Previously I handled this using a custom java class for example:
In that class I did the following:
public class LBLWOChangeStatusBean extends psdi.webclient.beans.workorder.WOChangeStatusBean
{
public MboSetRemote getList(int nRow, String attribute)
throws MXException, RemoteException
{
String strAppname=this.sessionContext.getCurrentApp().getApp();
if (strAppname.equalsIgnoreCase("WOTRACK") ||
strAppname.equalsIgnoreCase("FACWOTRACK"))
{
MboSetRemote currentList=super.getList(nRow,attribute);
Now based on the criteria specified by the user, I filtered the contents of "currentList" and returned the "currentList" to "getList" method.
return currentList;
}
We are now in the cloud and our cloud provider may not like us to have any java customizations.
Any clue/hint or advice on accomplishing the same using the automation script or anything similar?
Please help.
------------------------------
Pankaj Bhide
Computer Engineer
Lawrence Berkeley National Laboratory
------------------------------