Migrating Favorite Searches Information

This section describes how to migrate Favorite Searches created prior to R2017x FD04 (FP.1729), when they did not have organization and collabspace values set on them.

To migrate Favorite Searches with these values and make them compliant with the new data model, you must run the snnSavedSearchSecurityMigration migration JPO.

Note: Since these objects are stored in the 3DSpace database, they will be automatically available in the next product versions, as they will point to the same database. When there is a difference in data model between two versions, as in this case, with a data model change from R2017x FD03 (FP.1721) to FD04 (FP.1729), we need some script to update objects in the database and make them compatible with the new version.

  1. Launch the snnSavedSearchSecurityMigration JPO with the following arguments.

    Argument Description
    -out Log file path.
    -userdefault Organization and collabspace are set from the user's default credentials.

    You can otherwise specify -org <organization> -collabspace <collabspace>

    -simul Logs the Favorite Searches to migrate, per user, without actually performing any migration.
    -delete Deletes all existing favorite searches.

    For example, you can launch the following command:

    set context user creator;
    execute prog snnSavedSearchSecurityMigration -out "/home/users/e4ainst"  -userdefault;

  2. Test that Favorite Searches have correctly migrated by opening them in the new version.