Hi All,
We are using Maximo 7.6.1. For all of our GIS synchronized "Locations" in Maximo, we currently have an automation script to restrict everything of this object to be READONLY. Now we encounter difficulties to exclude some specific fields and functions to be editable, such as "Description" and "Attachments".
Our current script is using "
setFlag" method to restrict the whole object:
------------------------------------
if mboName == 'LOCATIONS':
mbo.setFlag(MboConstants.READONLY, True)
------------------------------------
So everything of the Location object is set as READONLY:
We then tried to use the "
setFieldFlag" method to exclude field "DESCRIPTION":
------------------------------------
if mboName == 'LOCATIONS':
#mbo.setFlag(MboConstants.READONLY,True)
mbo.setFieldFlag(["DESCRIPTION"], False, MboConstants.READONLY, True)
------------------------------------
However, it leaves all other exclusive tabs and fields editable (grey line indicates READONLY; black line indicates EDITABLE):
Is there a way we can still set everything of the object as "READONLY", but only leaves one specific field or function editable? We do want to have "Attachments" editable in real request.
Thanks very much,
Frank Meng
#WorkManagement------------------------------
Frank Meng
City of Oshawa
------------------------------