Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • As .json files for upload to individual scheduling objects such as workflows and calendars that are managed from JOC Cockpit's Configuration view.
  • As .zip archives for import from JOC Cockpit's Configuration view.

...

Upload of .json Files

Assume the following .json sample file of a Job Resource for download: Global-Variables.jobresource.json

  • The sample file implements a number of global environment variables that can be assigned to workflows and jobs, for details see JS7 - Job Resources.
  • File names indicate the object type: .jobresource.json, .workflow.json, .calendar.json, .schedule.json etc.
  • Files include the JSON representation of scheduling objects which is the storage format of objects in JS7.

The proceeding for upload of any object types is the same for any object type.

Proceeding for Upload

Step 1: Create a new corresponding object

...

You now should find an empty object with the specified name specified.

  • In the right upper corner you find the  upload icon like this:

...

Having clicked the upload icon a popup window invites to select the a file for upload:

  • You can select a file from the Choose Files for Upload button and you can drag & drop files.
  • With the file being selected the screen looks like this:

...

  • Create a new corresponding object as explained with Step 1 of the previous chapter.
  • Use the object's the  action menu and select the Edit JSON action like this:


Subsequently a popup window is displayed for the JSON representation of the empty object like this:

...

Paste into this window the contents of the download file.

  • You can open .json files with any text editor and paste to your clipboard.
  • After pasting the popup window should look like this:


After clicking the Submit button you should find the object being updated and visible as explained with Step 3 of the previous chapter.

Import of .zip Archives

The JS7 Product Knowledge Base provides such archives in case that a number of objects should be imported, for example a workflow and its corresponding Resource Lock.