< Back
Print

Move output file to predefined target

This functionality allows you to specify a target for your file output.

In this article you learn how to navigate the menus and define a target.

 

How to create a Job-Related Task

1) Go to Jobs (the so-called Jobcenter) in the SAWSConnector Suite.

2) Select Job-related rasks in the sub-menu.

3) And click on + (‘Add new task‘).

 

Another sub-menu opens where you can specify the basic conditions, for example when the task should start or what happens after the task is done. To learn more about this click on this link.

4) Click on the Task to do box and select ‘Move output file to predefined target‘.

And the Settings menu will open.

 

Settings

 

Conditions

Allows you to specify even more conditions and context for the follow-up job. You can create a condition by clicking on + (Add new condition).

To learn about this functionality in detail, please click on this LINK.

 

File name of the output file

Allows you to define the name of the final output file.

Please note: The name box allows to use placeholders. You can find a list of all placeholders via this LINK.

 

ZIP behavior

If you export more then one file the task will store them in a ZIP archive for easier management. This drop-down menu lets you select how the created ZIP archives should be handled.

You can either choose to leave the ZIP archives in their original states, archive or unpack them before the transfer or unpack them without the top folder (for example if there is only only folder inside it, making a top folder redundant).

 

Output path (relative to the project directory e.g.: ../CSLive/data/cache)

Allows you to directly determine an output path on your server.

It is recommended to always begin the path with: ‘../{your project name}/

 

Output DAM path (prioritized)

Here you can select the prioritized output directory for your DAM files inside the Contenserv Suite.

 

Run Example

To fully understand how you to select an output target it is best demonstrated with a case example.

My goal for this example is to give the job ‘Products‘ a target for its output.

 

1) I want to equip my ‘Products‘ job with the specific task so I just click on it to open it.

 

2) Inside the ‘Products‘ job, go to the Job-related tasks and create one by clicking on + (Add new task).

 

3) For a Task to do I select ‘Move output file to predefined target‘.

 

The Settings menu opens.

4) Since I don’t have any more Conditions to set, I’ll just ignore them.

5) For a File name I take ‘Output-file‘ since this is just a case example.

6) I order the ZIP behavior to leave the files in their original states.

7) Since I am giving the task an Output path for the DAM files, I just leave this box empty.

 

8) And for the prioritized Output DAM path I select ‘/Demo/Export/JSON Export‘. This is also possible by just typing the ID: ‘14156‘.

 

9) I save my progress right next to the tab tail below the Settings menu.

 

10) If the Connector job has multiple result files they will be archived as one ZIP file. If only the export JSON exists it will not be archived.

Since I configured a DAM file export via a Loop format in my Datamap, I have multiple result files which will be archived in a ZIP.

 

11) Last but not least I have to define which item should be exported, so I go to Jobs, then to Data Source and for the Root Node I select the ‘SLT 95 Nano Crystal (10254)‘ Smart TV

 

12) For the final step I launch the ‘Products‘ job.

 

… and enjoy the results inside the DAM:

 

Also in my local Downloads folder:

 

Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents