Tuesday, 18 October 2011

How to make object readonly or editable by using maximo API coding?

To make Object Readonly: setFlag(7L,true);
To make Object Editable: setFlag(7L,false);

Note:
1.If object is readonly, can't make fields editable in that object.
2. If object is readonly, then make object editable using setFlag(7L,false);. Now all the fields will be editable, and make other fields readonly by using setFieldFlag("<attributename>",7L,true);

5 comments:

chaitu said...

Hi this is chaitanya I want to learn IBM Maximo could you please help me out in this.Plz shre me your e-mail id or mobile number.

salman said...

yes this is Khan,
you can contact me on
hmsalmankhan@gmail.com for learning IBM MAXIMO

salman said...

Hi this is salman, you can contact me on my email ID for learn IBM MAXIMO.
hmsalmankhan@gmail.com

citizenX said...

do you know whether this code will work using the maximo scripting functionality, as i am trying to set a field to readonly/required using maximo scripting with javascript; cannot use jython as this does not work on maximo

NJSR said...

Sorry I never tried using java script.

Maximo SOAPUI error javax.xml.ws.WebServiceException

SOAPUI error while sending payload to below url (in cluster environment) http://localhost:9080/meaweb/services/MXASSET Error : <f...