DSCScriptableAPI - Global

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • The DSCScriptableAPI provides methods for checking the health of your domain configuration for an instance.

    This API is part of the Domain Separation Center dashboard and is available in the SNC global namespace.

    The com.glide.domain.msp_extensions.installer plugin must be activated for Domain Separation Center dashboard availability.

    DSCScriptableAPI - DSCScriptableAPI()

    Instantiates a new DSCScriptable object.

    Table 1. Parameters
    Name Type Description
    None

    DSCScriptableAPI - chkDataInvalidDomainForTables(String tableNames)

    Checks a list of comma-separated tables for invalid domains.

    View records that reference invalid domains in the Domain Log [syslog_domain] table.

    Table 2. Parameters
    Name Type Description
    tableNames String Comma-separated list of table names.
    Table 3. Returns
    Type Description
    String GUID of any invalid references; OK otherwise
    var dsc = new SNC.DSCScriptableAPI();
    dsc.chkDataInvalidDomainForTables('task, sys_user');

    DSCScriptableAPI - chkDataInvalidPathForTables(String tableNames)

    Checks a list of comma-separated tables for invalid domain paths.

    Records that have an invalid domain path are logged in the syslog_domain table.

    Table 4. Parameters
    Name Type Description
    tableNames String Comma-separated list of table names.
    Table 5. Returns
    Type Description
    String GUID if there are invalid paths; OK otherwise
    var dsc = new SNC.DSCScriptableAPI();
    dsc.chkDataInvalidPathForTables('task, sys_user');