Search found 58 matches

by rgpepper
Tue Mar 26, 2019 10:09 pm
Forum: Scripting
Topic: Syntax Error
Replies: 5
Views: 1728

Re: Syntax Error

mclarke wrote:
Thu Apr 12, 2018 6:57 pm
I will make the change, thank you.

Enfocus doesn't really make interpreting the help file easy for beginners.
Right??! It doesn't translate well, there's a "layer"missing I'd say.
by rgpepper
Thu Jan 10, 2019 6:58 pm
Forum: Connect ALL / SEND
Topic: Using "Include File Info" = Illegal XML
Replies: 1
Views: 1553

Re: Using "Include File Info" = Illegal XML

With XML chosen as the Delivery Format in my Connector, and the "Include File Info" option checked: I had been using <xsl:value-of select="//*[tag='JobName']/value"/> in my .xsl file, and that works fine but only with *legal* XML element names (meaning it didn't work with the 2 fields provided by th...
by rgpepper
Thu Jan 10, 2019 6:18 pm
Forum: Connect ALL / SEND
Topic: Using "Include File Info" = Illegal XML
Replies: 1
Views: 1553

Using "Include File Info" = Illegal XML

What I need to accomplish is really very simple, I just want to output a CSV file from the metadata submitted in a connector. And one of the pieces of data I need is the file name being submitted. I finally noticed the "Include File Info" option in ConnectALL 2018. And a basic XSLT transform in Swit...
by rgpepper
Tue Jul 17, 2018 9:02 pm
Forum: Scripting
Topic: Switch Scripting Training
Replies: 4
Views: 3304

Re: Switch Scripting Training

gabrielp wrote:
Thu Oct 29, 2015 2:59 pm
For me, what always helps me to learn scripting/programming languages or concepts is to first start with a problem and tackle something new in my attempts to solve it.
Couldn't agree more. Any hints on learning the fixture panel in Switch Scripter?

Peace,

Rick
by rgpepper
Tue Jul 03, 2018 11:27 pm
Forum: Flows
Topic: Mapping Or Ignoring Optional XML Field
Replies: 2
Views: 1182

Re: Mapping Or Ignoring Optional XML Field

Actually I haven't even tried it, I *assumed* it was a no-go, guess I'll have to at least try it.
by rgpepper
Fri Jun 29, 2018 6:01 pm
Forum: Flows
Topic: Mapping Or Ignoring Optional XML Field
Replies: 2
Views: 1182

Mapping Or Ignoring Optional XML Field

I have a flow receiving ConnectALL submitted jobs where some fields may not exist depending on the options chosen in the connector. Challenge is, I want to include those optional fields in an email from Switch (when they *are* populated) - but need to not error out if they're *not* included. And the...
by rgpepper
Fri Apr 27, 2018 11:40 pm
Forum: Flows
Topic: XML pickup tool
Replies: 11
Views: 7325

Re: XML pickup tool

I will try that, thanks!
by rgpepper
Mon Apr 23, 2018 11:17 pm
Forum: Flows
Topic: XML pickup tool
Replies: 11
Views: 7325

Re: XML pickup tool

That at least highlights the opening value tag <value> for the correct node and doesn't give an error in that dialog. For testing purposes I was playing with an existing SQL call (just some place I could define a variable) and it gives this error in response to the following in the "Text with variab...
by rgpepper
Mon Apr 23, 2018 10:29 pm
Forum: Flows
Topic: XML pickup tool
Replies: 11
Views: 7325

Re: XML pickup tool

Yeah nada:

[Metadata.Text:Path="//field-list/field[tag='PO#']/value",Dataset="FTP_XML",Model="XML"]

Doesn't work, I get the following error:
"There is no selected node. A location path is valid only when it indicates a single node"
by rgpepper
Mon Apr 23, 2018 10:06 pm
Forum: Flows
Topic: XML pickup tool
Replies: 11
Views: 7325

Re: XML pickup tool

I can't seem to make the method mentioned here work for me. I have this XML (just the top portion shown for brevity), dataset is named "FTP_XML", I want to use xpath so that I don't have to re-connect everything if I add a field in the middle of the XML. <?xml version="1.0" encoding="UTF-8"?> <field...
by rgpepper
Fri Mar 23, 2018 10:28 pm
Forum: Flows
Topic: Generate a UUID For Use in XML?
Replies: 2
Views: 1315

Generate a UUID For Use in XML?

I need to provide a UUID in an XML file I'm thinking I'll be able to generate using "Make XML". But I'm not seeing anything about actually generating one within (and for use within) Switch.
by rgpepper
Mon Mar 19, 2018 10:11 pm
Forum: Connect ALL / SEND
Topic: Connector Provide a File "Manifest"?
Replies: 2
Views: 1532

Connector Provide a File "Manifest"?

Unless I'm missing something, I see only a 1:1 between files dropped onto a connector, and the job ticket provided for that file. I'm wondering about the Connector providing a single job ticket, listing all files dropped in a given session. Any other way to do this beyond ZIP-compressing and then in...
by rgpepper
Wed Mar 07, 2018 6:35 pm
Forum: Flows
Topic: Combining Data Into XSLT Question
Replies: 1
Views: 1031

Combining Data Into XSLT Question

I'm pumped I built a working XSLT transform! Then I realized it is strictly a tool for processing a physical XML file. How could I output an XML file that contains both data that was picked up from an incoming (from a Connector) XML file *and* Switch system variables like Job.Name and the like? If I...
by rgpepper
Wed Feb 21, 2018 5:20 pm
Forum: Flows
Topic: Precision Parameter Not Working
Replies: 4
Views: 2139

Re: Precision Parameter Not Working

That was the ticket! Thank You so much!
by rgpepper
Tue Feb 20, 2018 8:00 pm
Forum: Flows
Topic: Precision Parameter Not Working
Replies: 4
Views: 2139

Re: Precision Parameter Not Working

I did indeed choose "Define Multi-Line...."