Search found 103 matches

by cstevens
Wed Jun 08, 2016 6:59 pm
Forum: LEGACY scripting
Topic: HP_Digital_Front_End_JDF_Control - sscript editing
Replies: 5
Views: 7415

Re: HP_Digital_Front_End_JDF_Control - sscript editing

Sorry for the delay in responding I was at DRUPA. The latest beta of the JDF configurator allows you to set the ReturnJMF URL in the properties settings when output format is set to MIME. If you send me a PM I'll respond with an FTP to the Beta configurator. Just to clarify: a .mjm file includes a J...
by cstevens
Fri May 06, 2016 9:36 pm
Forum: Applications
Topic: SmartStream Banner JDF
Replies: 19
Views: 28815

Re: SmartStream Banner JDF

Glad to hear. Let me me know if you have any other issues.
by cstevens
Wed May 04, 2016 4:36 pm
Forum: Applications
Topic: SmartStream Banner JDF
Replies: 19
Views: 28815

Re: SmartStream Banner JDF

Unfortunately I don't think it's possible. I think the name of the configurator conflicts and overwrites the existing version. However version 9 doesn't change much in the way of functionality. It's mostly defect fixes. I think it's pretty safe to install. I developed version 9 in Switch 13, so it i...
by cstevens
Wed May 04, 2016 3:25 pm
Forum: Applications
Topic: SmartStream Banner JDF
Replies: 19
Views: 28815

Re: SmartStream Banner JDF

Sorry for chiming in late here, but I just recently started following the Enfocus forums. I think there are a few separate issues here: 1. Regarding the error on using single line text with variable for name of banner substrate, I believe this is a validation error within the configurator. Since the...
by cstevens
Thu Apr 28, 2016 6:08 am
Forum: LEGACY scripting
Topic: Running a Command Line call on a remote system
Replies: 1
Views: 3341

Running a Command Line call on a remote system

I have an application running on a remote server from switch which has a command line interface. Can anyone think of a way to call it remotely from switch along with some parameter data from within the flow? For example if I was on the remote server I would call something like: "C:\Program File...
by cstevens
Thu Mar 24, 2016 5:05 pm
Forum: LEGACY scripting
Topic: XML From Scratch : SOLVED
Replies: 3
Views: 6315

Re: XML From Scratch

Here's the basis for creating your XML file, I'll leave it to you to map the data from the preflight XML //Create a new blank XML document var newXML = new Document(); //Create a root element named "ProcessedFile" var rootElem = newXML.createElement("ProcessedFile"); newXML.setDo...
by cstevens
Thu Mar 17, 2016 3:28 pm
Forum: Imposition
Topic: HP SmartStream Designer saving imposed JLT files
Replies: 5
Views: 12491

Re: HP SmartStream Designer saving imposed JLT files

Another option would be to use the "HP SmartStream Designer VDP" configurator. It requires that you create a .hpd template and unpack it first, but the configurator allows you to drop in database files (.csv or .txt) and it will generate multiple file types (JLYT, PPML or PDF). As part of ...
by cstevens
Thu Oct 01, 2015 8:32 pm
Forum: LEGACY scripting
Topic: Downloading files from URLs with isapi extensions
Replies: 6
Views: 8369

Re: Downloading files from URLs with isapi extensions

That was it. I forgot I was setting an Accept header earlier in the code to force a REST call to respond with XML. Doing a HTTP.resetHeaders() fixed the issue.

Thanks for the help both of you.
by cstevens
Thu Oct 01, 2015 6:11 pm
Forum: LEGACY scripting
Topic: Downloading files from URLs with isapi extensions
Replies: 6
Views: 8369

Re: Downloading files from URLs with isapi extensions

s.download works fine. I was hoping to have the additional flexibility of the HTTP client, but this might do for a workaround. I also tried Postman without any headers or authorization and it worked fine as well. I don't see anything in the response headers that would be concerning: Accept-Ranges → ...
by cstevens
Wed Sep 30, 2015 11:42 pm
Forum: LEGACY scripting
Topic: Downloading files from URLs with isapi extensions
Replies: 6
Views: 8369

Downloading files from URLs with isapi extensions

Anyone had any luck using the HTTP scripting class to download files from an IIS server using isapi extensions? Something like this: http://Server/path/filename.pdf?isapi=lX9nHeCSs7tcM-M-jZ1wtJOgjGSQrQoykzcesIk5E6c= I keep getting 406 errors with the description: HTTP GET request error: HTTP protoco...
by cstevens
Fri Nov 14, 2014 5:54 pm
Forum: LEGACY scripting
Topic: EvalTo functions with JDF
Replies: 3
Views: 7265

EvalTo functions with JDF

Thanks so much Freddy, I've been struggling with that one for months now. Just so folks can see here's the working code: var baseJDF = new Document(job.getPath() + slash + jdfFileList[0]); var nsMap = baseJDF.createDefaultMap(); var baseJDFdocElem = baseJDF.getDocumentElement(); var baseRunList = ba...
by cstevens
Thu Nov 13, 2014 8:34 pm
Forum: LEGACY scripting
Topic: EvalTo functions with JDF
Replies: 3
Views: 7265

EvalTo functions with JDF

Hello, I'm trying to parse some data from a JDF ticket using the EvalToNodes() function, but don't seem to be having any luck. Something like this: var inputDIR = new Dir(job.getPath()); var jdfFileList = inputDIR.entryList("*.jdf", Dir.Files, Dir.Time); var baseJDF = new Document(job.getP...
by cstevens
Tue Feb 12, 2013 8:55 pm
Forum: Flows
Topic: Pulling information from databases using Single Line Text w/ Variable
Replies: 1
Views: 4084

Pulling information from databases using Single Line Text w/ Variable

Hello, I'm trying to drive a configurator setting from a database using a single line text with variable input. My question is, do I need the Database Connect Flow Element in my flow for this to work, or will just creating the SQL query using the Build SQL Query UI be sufficient? It seems to work fi...