About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Question & Answer
Question
A regular activity when managing Asset records is to add Users or Custodians records. This task can be done though Assets Application, under the Select Action menu. It is also possible to add or remove Users or Custodians from a given Asset using Maximo Integration Framework. Adding a new User/Customer to an Asset is very simple but the question is : How to remove a User/Custodian record using MIF ?
Cause
Answer
The "Out-Of-The-Box" MXASSETInterface can be used to remove a User or Custodian record from a given Asset, but only using a XML file to import such update.
The reason is: When using Flat Files there is only one Action defined, and this is for the main record. In this scenario the main record is an ASSET and not the ASSETUSERCUST. So the "Delete" action will delete the ASSET record.
In an XML file, multiple actions can be defined, one for each node in the Object Structure.
For instance, this is an XML to remove a User/Custodian record from a
given asset MPC01 which has two User/Custodian records associated.
( Refer to the attached MXASSET.xml file )
[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"MEA: Generic","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1;7.1.1;7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Was this topic helpful?
Document Information
More support for:
IBM Maximo Asset Management
Software version:
7.1, 7.1.1, 7.5, 7.6
Document number:
227383
Modified date:
17 June 2018
UID
swg21643649
Manage My Notification Subscriptions