Page 1 of 1

Returning PDF file back to origin folder

Posted: Wed Jul 17, 2013 1:35 pm
by Esben Stage
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

Posted: Wed Jul 17, 2013 5:17 pm
by dkelly
Use variable [Job.Origin]

Returning PDF file back to origin folder

Posted: Wed Jul 17, 2013 5:24 pm
by Esben Stage
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

Returning PDF file back to origin folder

Posted: Wed Jul 17, 2013 10:27 pm
by dkelly
s.copy(job.getPath(), job.getVariableAsString("[Job.Origin]") + "/" + job.getName());

Returning PDF file back to origin folder

Posted: Wed Jul 17, 2013 11:23 pm
by Esben Stage
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

Returning PDF file back to origin folder

Posted: Tue Jul 23, 2013 11:52 am
by freddyp
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