Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Attach a script file to a MID Server

Attach a script file to a MID Server

Attach a script file to a MID Server to keep script files in synch with the instance without having to download the file. Do this when your browser security settings are blocking the downloading of files that your MID Server needs from the instance.

Before you begin

Role required: admin

About this task

You can attach multiple files, but the last attached file gets synchronized to the MID Server. If you delete the attachment, the script file becomes inactive, and the synchronized file is deleted from MID Server.

Procedure

  1. Navigate to MID Server > Script Files.
  2. Open the file to which you would like to attach the script file, or click New to create a new file.
    Note: The script file attachment name must match the MID Server script file name, since the record can contain other attachments.
  3. Select Use attachment, and then click the paperclip icon to add the attachment.
    Note: When Use attachment is checked, an attached script file overrides the script contained in the Script field. If this check box is cleared, the script in the Script field is used instead of the attachment.

    The script file attachment name must match the MID Server script file name, since the record can contain other attachments.

  4. Click Update to initiate the synchronization process.
    Ensure that the file name matches the script name.
    Note: If you receive the error message: File type not permitted or mime type does not match the file content, request that your administrator turn off mime type validation on attachments. The system property glide.security.file.mime_type.validation controls this setting.