Configuring IEFSmartSync JPO

In multiple locations environment, you can configure the IEFSmartSync JPO to set the priority for replication to each location.

  1. Run the following MQL commands.
    Run MQL from the Live Collaboration Server folder or from 3DSpace. For more information, see Installation and Setup | Administrate | 3DEXPERIENCE Platform | 3DSpace | Collaboration and Approvals | Administrative Utilities | Running MQL
  2. Search the IEFSmartSync JPO.

    MQL>list program IEFSmartSync;

  3. Take a back up of the existing IEFSmartSync JPO by cloning it. MQL>copy program IEFSmartSync <BACKUP_FILE_NAME>;
    For example, MQL>copy program IEFSmartSync IEFSmartSync_copy;
  4. Extract program for editing. MQL>extract program IEFSmartSync source <USER_READ_WRITE_DIR> ; where, <USER_READ_WRITE_DIR> is the directory with read-write access for the current user.
    For example, MQL>extract program IEFSmartSync source 'C:\temp' ;
  5. Update the _proximityMap within the buildProximityMap() method of the JPO in <USER_READ_WRITE_DIR>\IEFSmartSync_mxJPO.java.

    Further instructions are provided in the jpo.

  6. Modify program IEFSmartSync file <USER_READ_WRITE_DIR>\IEFSmartSync_mxJPO.java
    For example, modify program IEFSmartSync file C:\temp\IEFSmartSync_mxJPO.java ;
  7. Compile the program using the following mql command

    MQL>compile prog IEFSmartSync force

    Note: The compilation should be successful.

  8. Add the above program as the replication trigger for the store in which you are going to test the use case. Use the following mql command,

    modify store ${STORE} trigger IEFSmartSync;

    For example,

    modify store STORE trigger IEFSmartSync;