I'm using the 7.1 Java API and trying to rename a form. After I have
connected here is my code
Form frm = conn.getForm("Old");
frm.setKey("New");
conn.setForm(frm);
I get the Form object just fine
it sets the new Key without error
when I try to use the '.setForm' method I get error
Exception in thread "main" ERROR (303): Form does not exist on server; New
at com.bmc.arsys.api.ProxyJRpcBase.verifyStatus(Unknown Source)
at com.bmc.arsys.api.ProxyJRpcBase.verifyStatus(Unknown Source)
at com.bmc.arsys.api.ProxyJRpcBase.a(Unknown Source)
at com.bmc.arsys.api.ProxyJRpcBase.arCall(Unknown Source)
at com.bmc.arsys.api.ProxyJRpc.ARSetForm(Unknown Source)
at com.bmc.arsys.api.ARServerUser.setForm(Unknown Source)
at App.main(App.java:107)
My question is, of course the form 'New' doesn't exist...but Old does...and
I'm using it as a Form object, so it should be able to do what I'm trying to
do...but due to the fact that I'm changing the unique identifier for the
object, it can't seem to find it under its new name. Any suggestions out
there?
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"