Search found 376 matches
- Wed May 08, 2024 5:01 pm
- Forum: Flows
- Topic: Compose XML for HTTP POST using file in hot folder
- Replies: 50
- Views: 853
Re: Compose XML for HTTP POST using file in hot folder
Well, good luck on your Switch journey Tom.
- Wed May 08, 2024 12:54 pm
- Forum: Flows
- Topic: Compose XML for HTTP POST using file in hot folder
- Replies: 50
- Views: 853
Re: Compose XML for HTTP POST using file in hot folder
This is an example of a file name that would be dropped into the hot folder that contains a job name: 037984-24_001_8-C-Y.pdf The Job Name is 037984-24 The Job number is 037984 and the production year is 24 for 2024 the last digit of the Job number determines which server it will be homed to as the...
- Wed May 08, 2024 12:46 pm
- Forum: Flows
- Topic: Compose XML for HTTP POST using file in hot folder
- Replies: 50
- Views: 853
- Tue May 07, 2024 10:39 pm
- Forum: Flows
- Topic: Compose XML for HTTP POST using file in hot folder
- Replies: 50
- Views: 853
Re: Compose XML for HTTP POST using file in hot folder
By looking at the script I guess you are doing the following: 1. Fetch a job number containing 6 digits followed by a dash and two more digits from filename 2. Fetch the 6th digit in that job number as case 3. Use that case digit to set the URL If that's correct - here is a flow that does that using...
- Tue May 07, 2024 9:48 pm
- Forum: Flows
- Topic: Compose XML for HTTP POST using file in hot folder
- Replies: 50
- Views: 853
Re: Compose XML for HTTP POST using file in hot folder
Thanks, could you also provide a couple of example jobnames?
- Tue May 07, 2024 7:17 pm
- Forum: Flows
- Topic: Compose XML for HTTP POST using file in hot folder
- Replies: 50
- Views: 853
Re: Compose XML for HTTP POST using file in hot folder
The script does more than send the Post. It also determines which Server out of 5 the POST needs to be sent to and formats the server URL by using Regular Expressions to pull the last digit of the Job name to a select case for the server. I understand your frustration, but we are just trying to hel...
- Tue May 07, 2024 2:53 pm
- Forum: Flows
- Topic: Compose XML for HTTP POST using file in hot folder
- Replies: 50
- Views: 853
- Tue May 07, 2024 2:50 pm
- Forum: Flows
- Topic: Compose XML for HTTP POST using file in hot folder
- Replies: 50
- Views: 853
Re: Compose XML for HTTP POST using file in hot folder
On the output folder there is a property called 'Strip unique name' set that to 'Yes'.
- Thu May 02, 2024 4:43 pm
- Forum: Griffin
- Topic: Griffin Step anf Repeat
- Replies: 5
- Views: 150
- Wed May 01, 2024 9:25 pm
- Forum: Griffin
- Topic: Griffin Step anf Repeat
- Replies: 5
- Views: 150
Re: Griffin Step anf Repeat
Is there also a command that Griffin recognizes and simply fills the sheet with minimal waste without entering the quantity? No :( We would also like to do this when it comes to certain jobs. For example SRA3 digital print jobs that are beeing cut in a sheetfed digital die cutting machine and where...
- Mon Apr 29, 2024 10:51 am
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 14
- Views: 862
Re: JSON - list of files [SOLVED]
Great to hear Jimmy! Another nice thing with using Saxon in Switch is that you get very useful information in Messages if anything fails.JimmyHartington wrote: ↑Fri Apr 26, 2024 12:12 pm I just tested with one of my flows and got it to work.
Like you with a xslt created with the help of ChatGPT.
- Wed Apr 24, 2024 1:20 pm
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 14
- Views: 862
Re: JSON - list of files [SOLVED]
This helps in understanding how. I have not worked with XLSTs in Switch before. It seems a bit daunting to write XLST, but maybe with the help of AI and testing it could work. Some of my flows could surely be optimized in some cases by using XLSTs instead of some of my workarounds. XSLT is very pow...
- Wed Apr 24, 2024 8:01 am
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 14
- Views: 862
Re: JSON - list of files [SOLVED]
I hope that helps Jimmy? Have you been working with XSLT in Switch? And if so how?JimmyHartington wrote: ↑Tue Apr 23, 2024 3:36 pm Ok.
And how do you process the XML with the XLST using Saxon?
- Wed Apr 24, 2024 6:58 am
- Forum: Switch
- Topic: Acrobat Freezing with print command
- Replies: 3
- Views: 919
Re: Acrobat Freezing with print command
I use an CLI app called 2printer together with Execute Command to print documents with Switch. It works very good.
- Tue Apr 23, 2024 3:47 pm
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 14
- Views: 862
Re: JSON - list of files [SOLVED]
Oh sorry!
First I installed Saxon 9HE using Chocolatey (choco install saxonhe). Then I installed the Saxonica Saxon Switch app.
In the Saxon app element you just need to choose the xsl-file that you want to use for transforming the incoming XML.
First I installed Saxon 9HE using Chocolatey (choco install saxonhe). Then I installed the Saxonica Saxon Switch app.
In the Saxon app element you just need to choose the xsl-file that you want to use for transforming the incoming XML.