Require a Web Job Ticket

If you want to, you can require a job ticket from a Web client contact.

Note: Web client contacts using FTP cannot use a job ticket.

Note: The configuration for requiring a job ticket from a Web client contact can be set per contact only or for ALL contacts. The configuration below is for requiring a job ticket from a Web client contact only.

To require a job ticket from ALL Web client contacts, you need to edit the mtweb.ini file and set a value to the mForceHTMLJobTicket = 0 setting. For more information, please refer to Configuring Contacts to Use MTWeb section on the MTWeb page.

To require a Web client contact to fill in a job ticket when he/she sends files to you, follow these steps:

  1. Open the Contacts window of the MassTransit Administrator.
  2. Click Add... to add a new Web client contact, or highlight an existing Web client contact and click Edit....

    Note: For detailed information on how to create a new Web client contact, please see the Web Client Contacts section on the Contacts page.

  3. Open the Security tab of the Contact Information window that appears.
  4. In the Web Privileges section of the tab, check the Use Web Job Ticket check box. This will enable the Name drop-down menu.

  5. Select a web job ticket from the Name drop-down menu.
  6. Click on the OK button in the Contact Information window to save the changes.
  7. Once you select a job ticket, the configured Web client contact sees a job ticket before selecting files to send.

Note: You can duplicate the default job tickets and edit copies using a text or HTML editor to require the Web client contact to fill in certain information before being able to send you files (validation). These newly created job tickets must reside in the folder with the default job tickets, by default:

for MassTransit HP 7.0: ~\MassTransit Server 7\MTWeb\JobTickets

for MassTransit HP 7.1 and later: ~\MassTransit Server\MTWeb\JobTickets

Note: If you want to, you can create a new job ticket button in the Web client contact's user interface. For information on how to do that, please refer to the Customizing MTWeb User Interface section on the MTWeb page.

Localizing Job Tickets

You can manually localize Job Tickets by adding the string you wish to translate and the desired translation. These changes will be reflected in the MassTransit webUI.

Selecting the localized template

  1. Open the MassTransit Administrator.
  2. Click Add... to add a new Web client contact, or highlight an existing Web client contact and click Edit....

    Note: For detailed information on how to create a new Web client contact, please see the Web Client Contacts section on the Contacts page.

  3. Open the Security tab of the Contact Information window that appears.
  4. In the Web Privileges section of the tab, check the Use Web Job Ticket check box. This will enable the Name drop-down menu.

  5. Select your preferred Job Ticket (e.g. default_jobticket) from the Name drop-down menu.
  6. Click on the OK button in the Contact Information window to save the changes.

Adding the desired strings

  1. Navigate to the default templates folder. By default located at C:\Program Files (x86)\Acronis\MassTransit Server\MTWeb\WebRoot\Templates\Default.
  2. Make a backup of the customStrings.json file.
  3. Navigate to C:\Program Files (x86)\Acronis\MassTransit Server\MTWeb\JobTickets and find the jobticket file (e.g. default_jobticket) that you selected in the MassTransit Administrator. Make a backup of the file.
  4. Open the job ticket file with a text editor and copy the text that needs localization.

    The text is located between the <span class="ts"> and </span> tags.

    e.g. In this case: <span class="ts">Proceed</span> - the text you need is Proceed.

  5. Navigate to and open the customStrings.json file with a text editor.
  6. Enter the desired translations for the desired strings. The syntax is as follows:

    "text that will be translated": "translated version of the text"

    Note: These items must be entered between the two main curly brackets - { and }.

    Note: Multiple items must be separated by a comma (,). e.g.:
    {
    "Release Date":"localized text",
    "Proceed":"another localized text"
    }

    i.e. "Proceed":"Test" will change the Job Ticket text Proceed to Test in the webUI but it will not change Proceed Forward to Test Forward. You must write the exact text item you want translated.

  7. Save the changes made to the customStrings.json file.
  8. Open the web interface and verify that the desired text is localized. You have to clear the cache of your browser to see the changes.