Search found 40 matches
- Wed May 04, 2016 3:25 pm
- Forum: Applications
- Topic: SmartStream Banner JDF
- Replies: 17
- Views: 45408
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...
- Thu Apr 28, 2016 6:08 am
- Forum: Scripting
- Topic: Running a Command Line call on a remote system
- Replies: 1
- Views: 9484
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...
- Thu Mar 24, 2016 5:05 pm
- Forum: Scripting
- Topic: XML From Scratch : SOLVED
- Replies: 3
- Views: 19103
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...
- Thu Mar 17, 2016 3:28 pm
- Forum: Imposition
- Topic: HP SmartStream Designer saving imposed JLT files
- Replies: 5
- Views: 26890
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 ...
- Thu Oct 01, 2015 8:32 pm
- Forum: Scripting
- Topic: Downloading files from URLs with isapi extensions
- Replies: 6
- Views: 27552
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.
Thanks for the help both of you.
- Thu Oct 01, 2015 6:11 pm
- Forum: Scripting
- Topic: Downloading files from URLs with isapi extensions
- Replies: 6
- Views: 27552
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 → ...
- Wed Sep 30, 2015 11:42 pm
- Forum: Scripting
- Topic: Downloading files from URLs with isapi extensions
- Replies: 6
- Views: 27552
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...
- Fri Nov 14, 2014 5:54 pm
- Forum: Scripting
- Topic: EvalTo functions with JDF
- Replies: 3
- Views: 15496
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...
- Thu Nov 13, 2014 8:34 pm
- Forum: Scripting
- Topic: EvalTo functions with JDF
- Replies: 3
- Views: 15496
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...
- Tue Feb 12, 2013 8:55 pm
- Forum: Flows
- Topic: Pulling information from databases using Single Line Text w/ Variable
- Replies: 1
- Views: 10432
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...