Dear all,
I have a workflow were I would like to create PDF files from an InDesign job, and when the PDF file is ready I would like to offer the contributor with the following options though a checkpoint.
- Send to "Recycle Bin"
- Send to "Origin folder"
- "Save as" To save at a different location
The recycle bin I have solved, but how can I provide information to Switch about the origin folder, and then later make the origin folder an option for the contributor to save the pdf file in?
The contributor submits the InDesign job using SwitchClient/Submission point
Br. Esben
Returning PDF file back to origin folder
-
- Newbie
- Posts: 7
- Joined: Wed Jun 20, 2012 2:43 pm
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Returning PDF file back to origin folder
Use variable [Job.Origin]
-
- Newbie
- Posts: 7
- Joined: Wed Jun 20, 2012 2:43 pm
Returning PDF file back to origin folder
Thanks!
I understand the origin feature, but how to activate this so that the contributor get this option when he/she recieves the pdf file thoug a submission point?
Br. Esben
I understand the origin feature, but how to activate this so that the contributor get this option when he/she recieves the pdf file thoug a submission point?
Br. Esben
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Returning PDF file back to origin folder
s.copy(job.getPath(), job.getVariableAsString("[Job.Origin]") + "/" + job.getName());
-
- Newbie
- Posts: 7
- Joined: Wed Jun 20, 2012 2:43 pm
Returning PDF file back to origin folder
Hi dkely,
Thanks, but I don't get it
I guess this is our of my league!
Is this a codestring that I can paste somewhere, or ....?
Anyhow appreciate you help.
One thing can you please confirm if my request is possible to build with standard Switch tools?
Br. Esben
Thanks, but I don't get it

Is this a codestring that I can paste somewhere, or ....?
Anyhow appreciate you help.
One thing can you please confirm if my request is possible to build with standard Switch tools?
Br. Esben
Returning PDF file back to origin folder
Here is a solution that does not use scripting.
When the job follows the connection "Origin folder" out of the checkpoint it should go into "Set hierarchy path" followed by "Archive hierarchy".
In "Set hierarchy path" you "replace" the hierarchy path with "Action 1" as a "Define single-line text with variable" and the variable is [Job.Origin].
"Archive hierarchy" puts the job in the path defined in the hierarchy.
Note: I am assuming that you are submitting Indesign packages, and as those are folders [Job.Origin] will refer to a folder and it will work.
Freddy
When the job follows the connection "Origin folder" out of the checkpoint it should go into "Set hierarchy path" followed by "Archive hierarchy".
In "Set hierarchy path" you "replace" the hierarchy path with "Action 1" as a "Define single-line text with variable" and the variable is [Job.Origin].
"Archive hierarchy" puts the job in the path defined in the hierarchy.
Note: I am assuming that you are submitting Indesign packages, and as those are folders [Job.Origin] will refer to a folder and it will work.
Freddy