Page History
Table of Contents |
---|
Introduction
The JS7 Product Knowledge Base includes a larger set of examples that are explained with the respective in a number of articles and JS7 - How To sections.
Examples are offered for download in the following formats:
- As .json files for upload to individual scheduling objects such as workflows and calendars that which are managed from the JOC Cockpit's Configuration view.
- Instructions are provided in the JS7 - How to upload .json examples article.
- As .zip and .tar.gz archives for import from the JOC Cockpit's Configuration view.
...
Import of .
...
Assume the following .json sample file of a Job Resource for download: Global-Variables.jobresource.json
- The 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.
Proceeding for Upload
Step 1: Create a new corresponding object
To upload a file navigate to the Configuration view and create an object of the corresponding type:
...
In a next step a popup window appears that asks for the object name like this:
...
zip and .tar.gz Archives
The JS7 Product Knowledge Base provides such archives in situations when a number of objects should be imported, for example a Workflow and its corresponding Resource Locks, Schedule etc.
There is no technical difference between importing .zip archives and .tar.gz archives.
Instructions are available in the JS7 - Inventory Export and Import, chapter: Import article.
...
Step 2: Upload the sample file
You now should find an empty object with the name specified.
...
Having clicked the upload icon a popup window invites to select the 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:
When clicking the Upload button the object on your screen is replaced by the contents of the uploaded file.
...
Proceeding for Copy & Paste
As an alternative you can copy & paste the contents of a downloaded file 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.
...