Search found 408 matches

by jan_suhr
Tue Feb 23, 2021 8:55 pm
Forum: Appstore
Topic: String Replace
Replies: 3
Views: 50

Re: String Replace

Great
by jan_suhr
Tue Feb 23, 2021 6:50 pm
Forum: Appstore
Topic: String Replace
Replies: 3
Views: 50

Re: String Replace

Have you tried \n
by jan_suhr
Mon Feb 22, 2021 7:36 am
Forum: Flows
Topic: Moving big files
Replies: 5
Views: 177

Re: Moving big files

You can split the flow to run only the XML-files through another Submit hierarchy element.
by jan_suhr
Mon Feb 08, 2021 3:03 pm
Forum: Flows
Topic: Send processed files to path in metadata
Replies: 7
Views: 511

Re: Send processed files to path in metadata

I can be done without a script, but you can't use S:\\Customer\\order\\Test if it is a mounted volume to the Switch server.
You have to use \\MYSERVER\Customer\order\Test as the path in the Archive Hierarchy
by jan_suhr
Mon Feb 08, 2021 1:36 pm
Forum: Flows
Topic: Send processed files to path in metadata
Replies: 7
Views: 511

Re: Send processed files to path in metadata

Don't you have it in your script?

If you have it the Dataset from the XML you have you specify it as \\MYSERVER\Folder\Order\jobfile
by jan_suhr
Mon Feb 08, 2021 1:07 pm
Forum: Flows
Topic: Send processed files to path in metadata
Replies: 7
Views: 511

Re: Send processed files to path in metadata

Have you tried to escape the backslashes i.e. S:\\Customer\\order\\Test
by jan_suhr
Sat Feb 06, 2021 9:27 am
Forum: Flows
Topic: pdftk and cat command
Replies: 17
Views: 11152

Re: pdftk and cat command

You run the .bat in the Execute Command as the Command or Path property. In argument you just put "%1" "%2"
by jan_suhr
Thu Jan 28, 2021 5:35 pm
Forum: Flows
Topic: Web Service API - good practices
Replies: 4
Views: 926

Re: Web Service API - good practices

To clear this a bit. The unique prefix is a way for Switch to keep track of every file that is routed through Switch. This mean that if you enter one file in a flow it will get a prefix ID. Then you have a folder with three outgoing connections which means that switch has to make two copies of the f...
by jan_suhr
Wed Jan 27, 2021 9:59 pm
Forum: Flows
Topic: Archive Hierarchy vs Assemble Job
Replies: 1
Views: 152

Re: Archive Hierarchy vs Assemble Job

Archive Hierarchy is a tool for placing files in a folder structure at the end of a flow. You create the folder structure in a earlier step with the Set Hierarchy Path tool. You can not use these to create a folder for the Merge PDF tool. Merge PDF needs PDF-files in a folder where the files to be m...
by jan_suhr
Mon Jan 25, 2021 2:45 pm
Forum: Flows
Topic: pdftk and cat command
Replies: 17
Views: 11152

Re: pdftk and cat command

Here is an BAT-file example on how to run pdftk from the Execute Command. Play around with it. The B-file has to be in a specific folder in this case and you have to setup the Switch flow to put that copy in a folder and rename it before it ends up in that folder. set inputfile=%1 set outfile=%2 pdf...
by jan_suhr
Mon Jan 25, 2021 11:52 am
Forum: Flows
Topic: API question
Replies: 5
Views: 351

Re: API question

With the Client Module you can access those functions over the Switch Rest API.

You can also do some magic with the HTTP Request tool and the WebHook tool

And if you have the Scripting module there is no limits on integration
by jan_suhr
Fri Jan 22, 2021 12:27 pm
Forum: Flows
Topic: pdftk and cat command
Replies: 17
Views: 11152

Re: pdftk and cat command

Please use the app Execute Command Friend and make a command file to use instead. In your case a Bat-file.

It will make it work for you.
by jan_suhr
Sat Jan 16, 2021 12:57 pm
Forum: Flows
Topic: How to set text file contents as email body
Replies: 4
Views: 321

Re: How to set text file contents as email body

You can have Switch variables as markers in the text file and from that add text to the mail.

But if you need to edit the text it has to be done before it becomes a dataset.
by jan_suhr
Sat Jan 16, 2021 9:42 am
Forum: Flows
Topic: How to set text file contents as email body
Replies: 4
Views: 321

Re: How to set text file contents as email body

You can add the text file as an Opaque dataset to the job in the flow.

Then in the Email configurator you pick up that Dataset as a Template dataset with the Body template as Associated with job