Search found 34 matches

by matt.baile
Tue Jan 21, 2020 3:41 pm
Forum: PitStop Server
Topic: PitStop Server 2018 with SWITCH 17 ???
Replies: 0
Views: 1555

PitStop Server 2018 with SWITCH 17 ???

I wanted to check compatibility issues with running PitStop Server 2018 on SWITCH version 17. I believe that PitStop Server 2019 requires SWITCH 2019, but we are hoping to stay with SWITCH 17 for the moment, but upgrade to PitStop Server 2018. Can anyone confirm if this will work?
by matt.baile
Tue Jan 21, 2020 3:41 pm
Forum: PitStop Server
Topic: PitStop Server 2018 with SWITCH 17 ???
Replies: 1
Views: 927

PitStop Server 2018 with SWITCH 17 ???

I wanted to check compatibility issues with running PitStop Server 2018 on SWITCH version 17. I believe that PitStop Server 2019 requires SWITCH 2019, but we are hoping to stay with SWITCH 17 for the moment, but upgrade to PitStop Server 2018. Can anyone confirm if this will work?
by matt.baile
Wed Jan 15, 2020 5:01 pm
Forum: Flows
Topic: Send file to Printer in a Flow
Replies: 2
Views: 860

Send file to Printer in a Flow

I have a workflow that is manipulating a file and storing it to a network location. I'd also like to send a copy of the file to a network printer. Is there a way that I can sent a file to print on a device automatically using a UNC path or the IP address of the printer? I suppose I saw this working ...
by matt.baile
Wed Sep 11, 2019 10:07 pm
Forum: Flows
Topic: Attaching Multiple Files to Mail Send
Replies: 0
Views: 2028

Attaching Multiple Files to Mail Send

Hi all, I'm working on a new flow and I want to attached two files to an email using the Mail Send element. I will be getting these jobs in a single folder and I simply want to dismantle the folder and attached the two files inside it to the same email. The email is handled by an automated system so...
by matt.baile
Wed Aug 28, 2019 8:49 pm
Forum: Flows
Topic: Inject XML data into InDesign File for PDF Creation
Replies: 0
Views: 2023

Inject XML data into InDesign File for PDF Creation

I am working on creating a PDF file using InDesign within SWITCH. I will have an InDesign file (.indd) that will always be used as a template with the only exceptions being that I want to populate the file with variable data from an incoming xml file. For example, I'll have fields for name, address,...
by matt.baile
Wed Aug 14, 2019 4:40 pm
Forum: Flows
Topic: XML string to PDF File
Replies: 10
Views: 3653

Re: XML string to PDF File

Ok, I used the earlier mentioned code and created a flow with it, you can find it in the attached zip. The flow looks like this: https://i.ibb.co/yfm3Jfv/screenshot.png Basically: - An XML Pickup to attach your xml file as metadata - A script to extract the part of the xml which is the PDF and save...
by matt.baile
Tue Aug 13, 2019 6:07 pm
Forum: Flows
Topic: XML string to PDF File
Replies: 10
Views: 3653

Re: XML string to PDF File

Padawan wrote:
Tue Aug 13, 2019 5:55 pm
Most likely the XPath expression is incorrect. Would it be possible to share your XML file? Then we can tailor an example specific to the structure of your XML file.

sure thing. I wasn't' apple to upload the xml file directly so I placed it in a zip archive.
by matt.baile
Tue Aug 13, 2019 4:35 pm
Forum: Flows
Topic: XML string to PDF File
Replies: 10
Views: 3653

Re: XML string to PDF File

Yes, you need to pickup the XML to a dataset. Then you can call that dataset and set an XPath to the node where the base64 line is. Jan Thanks! I just edited my reply with an error message that I'm getting. This script is honestly a bit out of my league, so sorry for all of the questions. -Matt
by matt.baile
Tue Aug 13, 2019 4:28 pm
Forum: Flows
Topic: XML string to PDF File
Replies: 10
Views: 3653

Re: XML string to PDF File

It is not difficult to do with a script. Here is a code snippet that shows how to decode from base64 and save the result to a file: In addition to my last post, don't I need to go through an XML Pickup element in order to use the xml.evalToString piece of this or will it work without going through ...
by matt.baile
Tue Aug 13, 2019 4:21 pm
Forum: Flows
Topic: XML string to PDF File
Replies: 10
Views: 3653

Re: XML string to PDF File

Thank you! I went the route of a script as it seemed easier and I don't have a text file with the string, rather it appears as a node within the xml and I wasn't sure how to call that out. Right now I'm dropping the file into the folder on our network at \\primus\PowerSwitch\working_folders\cpi so I...
by matt.baile
Mon Aug 12, 2019 5:39 pm
Forum: Flows
Topic: XML string to PDF File
Replies: 10
Views: 3653

XML string to PDF File

Hello, I have a new project where we're receiving a base 64 string inside of an XML element. The XML file that we receive will move through a SWITCH flow and I'd like to use something to convert the string into a PDF file. Is there anything in SWITCH that can do this or a source for better informati...
by matt.baile
Thu Mar 21, 2019 3:45 pm
Forum: Flows
Topic: XML Pickup for Multiple Values
Replies: 8
Views: 4154

Re: XML Pickup for Multiple Values

I think the XML repeater may be an option, but I'm not able to purchase anything from the app store at this point. @r.zegwaard - Your idea seems to be correct, but is that looking at the total number of nodes, or looking at the value in the ORDER_QUANTITY itself? I'm not so much concerned with how m...
by matt.baile
Tue Feb 19, 2019 3:34 pm
Forum: Flows
Topic: XML Pickup for Multiple Values
Replies: 8
Views: 4154

XML Pickup for Multiple Values

Hello. I'm doing an XML pickup and hoping to use the values from the pickup to route orders a certain way. What I have is a structure that looks like this: <ORDER_ITEMS> <ORDER_ITEM> <ORDER_QUANTITY></ORDER_QUANTITY> </ORDER_ITEM> </ORDER_ITEMS> I could have multiple <ORDER_ITEM> entries or just one...
by matt.baile
Tue Nov 06, 2018 5:02 pm
Forum: Flows
Topic: Moving Files with a .bat or SWITCH Script?
Replies: 5
Views: 3097

Re: Moving Files with a .bat or SWITCH Script?

I wanted to confirm that disabling the Safe Move did solve the problem, at least for now. After hanging up on nearly every file, or every other at best, the system processed 49 files last evening with no problems. Hopefully this has resolved things permanently. As always, thanks for the input!
by matt.baile
Mon Nov 05, 2018 3:07 pm
Forum: Flows
Topic: Moving Files with a .bat or SWITCH Script?
Replies: 5
Views: 3097

Re: Moving Files with a .bat or SWITCH Script?

I suppose the problem is technically on the receiving end with the service catching the file before it's done writing. I've asked our development team working on this service to address the issue, but I was hoping to do something in SWITCH to help if possible. I saw Dwight's script and thought I sho...