MIDServerFileSync - Global

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • The MIDServerFileSync script include provides methods to check to see if there are any changes to attachments on tables that are instances of MID Server synchronized files (ecc_agent_sync_file) and, if so, notifies the MID Servers of a change.

    The tables that extend the sync tables are MID Server JAR file (ecc_agent_jar) and MID Server MIB File (ecc_agent_mib).

    Use in server scripts to notify MID Servers.

    MIDServerFileSync - MIDServerFileSync()

    Creates an instance of MIDServerFileSync.

    Tableau 1. Parameters
    Name Type Description
    None

    MIDServerFileSync - notifyMIDServers(String table)

    Checks for any changes to attachments on the specified table that are instances of MID server synchronized files and, if so, notifies the MID servers of a change.

    Tableau 2. Parameters
    Name Type Description
    table String The table to check
    Tableau 3. Returns
    Type Description
    void
    var msfs = new MIDServerFileSync();
    msfs.notifyMIDServers('ex.table.name');