Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Delete object attributes using Migration Manager

    Posted Fri March 20, 2020 01:32 PM

    I'm attempting to delete an attribute using the instructions in this support note, but it is not working. The addition of new attributes is working. Does anybody know if there's a step missing, or I've to do something else? I'm in Maximo 7.6.1.1, Oracle.

    https://www.ibm.com/support/pages/deleted-attribute-not-migrating-correctly-change-package

    Thanks!


    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Delete object attributes using Migration Manager
    Best Answer

    Posted Mon March 23, 2020 01:03 PM
    If you already deleted the attributes from the object, create a package definition of type SNAPSHOT (https://www.ibm.com/support/knowledgecenter/SSLKT6_7.6.1.1/com.ibm.mbs.doc/gp_migmgr/c_snapshot_pkg_definition.html).
    This will create a package of the object as it is right now, and should delete the attributes in your target environment which are not part of the package.

    ------------------------------
    Jens Schmeiser
    Service Management Consultant
    scienITec GmbH
    Munich
    ------------------------------



  • 3.  RE: Delete object attributes using Migration Manager

    Posted Mon March 23, 2020 11:00 PM
    Thanks for the reply! It looks like Replace action does do it on a Snapshot package. I wasn't sure if that would have unexpected results. Any experience with that?

    ------------------------------
    MANU MAGANTI
    EMA Canada| Inc.
    OAKVILLE ON
    ------------------------------



  • 4.  RE: Delete object attributes using Migration Manager

    Posted Tue March 24, 2020 03:42 AM
    For our current customer we only use Snapshot-Packages with Replace Action.
    Especially DDL-Packages should get deployed as soon as possible, in the order of their creation.

    For example:

    WORKORDER object has ATTR1.

    1. Package adds attribte ATTR2 to WORKORDER.
    2. Package deletes attribute ATTR1 to WORKORDER.
    If you now deploy package 2 before package 1, the WORKORDER Object will still have ATTR1 as it is part of package 1.
    So the last one wins.

    Hope that helps.

    ------------------------------
    Jens Schmeiser
    Service Management Consultant
    scienITec GmbH
    Munich
    ------------------------------



  • 5.  RE: Delete object attributes using Migration Manager

    Posted Tue March 24, 2020 08:22 AM
    Thanks, Jens! That's a great example. Appreciate your help with this.

    Manu

    ------------------------------
    MANU MAGANTI
    EMA Canada| Inc.
    OAKVILLE ON
    ------------------------------



  • 6.  RE: Delete object attributes using Migration Manager

    Posted Tue March 24, 2020 02:53 PM
    hi, please note that you cannot remove predefined objects from the application, and for attributes in view mbo's, you will need to delete the object from the parent. hth! -Keith-

    ------------------------------
    keith simmons
    ------------------------------