Search found 54 matches

by billy.olvestad
Fri Jan 17, 2020 4:30 pm
Forum: Flows
Topic: Send file to Printer in a Flow
Replies: 2
Views: 4416

Re: Send file to Printer in a Flow

For us, the easiest solution was using "FTP Send" to send the pdf to the printer. As it turns out, all HP Laserjet printers have FTP printing. You just have to enable it. You can then use "FTP Send" to send the pdf to the printer with anonymous login. Check if your printer has su...
by billy.olvestad
Wed Nov 27, 2019 1:49 pm
Forum: Flows
Topic: merge PDF
Replies: 2
Views: 3291

Re: merge PDF

I would do it with two instances of "inject job". I have attached a sample flow. You need to change the job repository folders for the two "inject job" configurators to match the folders with the "pdg" and "plan" files. You also need to change the infolder to ...
by billy.olvestad
Mon Nov 11, 2019 2:15 pm
Forum: Flows
Topic: XSLT help
Replies: 12
Views: 15858

Re: XSLT help

Thanks for the information. It's kinda hard to understand why some things work while others doesn't when you don't know what you're doing... :lol: I know. I have pulled my hair a lot when learning XSLT :) . In this case it was a simple error, but XSLT in general is not the most intuitive thing, so ...
by billy.olvestad
Mon Nov 11, 2019 2:08 pm
Forum: Flows
Topic: XSLT help
Replies: 12
Views: 15858

Re: XSLT help

job-name in your case is an attribute to the node "job", not an element with a text node directly under "job". The other values are elements with text nodes directly under "job".
That's why you need the @-character. It means "attribute" in xslt.
by billy.olvestad
Fri Nov 08, 2019 10:45 am
Forum: Flows
Topic: [SOLVED] Unzipping files zipped on a Mac
Replies: 4
Views: 4768

Re: Unzipping files zipped on a Mac

This is just a guess, but I think your problem is related to the fonts themselves, and not the unzipping. Those are probably mac specific fonts, and they will not work in windows. If standard OpenType or TrueType fonts has been used, this is usually not a problem and the fonts will work anyway, but ...
by billy.olvestad
Mon Nov 04, 2019 3:49 pm
Forum: Flows
Topic: SQL Query works in the statement editor, but not when finished
Replies: 5
Views: 5946

Re: SQL Query works in the statement editor, but not when finished

I tried it, but I got the same error message.

I have now solved it with scripting instead. Seems like in the script interface it works just fine.

Thanks for your help.
by billy.olvestad
Mon Nov 04, 2019 10:29 am
Forum: Flows
Topic: SQL Query works in the statement editor, but not when finished
Replies: 5
Views: 5946

Re: SQL Query works in the statement editor, but not when finished

Sadly, that didn't work either. I now have a privatedata variable named "queryKundnamn" that in my example evaluates to: SELECT "Sell-To Name" FROM "åtta_45$PV Case" WHERE "Order No_" = 'PO204331' I then insert it to another privatedata variable: kundnamn=[Dat...
by billy.olvestad
Sun Nov 03, 2019 10:40 pm
Forum: Flows
Topic: SQL Query works in the statement editor, but not when finished
Replies: 5
Views: 5946

Re: SQL Query works in the statement editor, but not when finished

Hey! That's genious!
Why didn't I think of that?! :D

Thank you! I will be trying that tomorrow.
by billy.olvestad
Fri Nov 01, 2019 12:31 pm
Forum: Flows
Topic: SQL Query works in the statement editor, but not when finished
Replies: 5
Views: 5946

SQL Query works in the statement editor, but not when finished

I am trying to add a value from an SQL database as private data. I have an SQL Query that works as long as I am inside the statement builder ("Build SQL statement"-window), but when I finish and insert, the double quotation marks are confused by switch to mean the end of the SQL statement ...
by billy.olvestad
Mon Oct 21, 2019 5:19 pm
Forum: Applications
Topic: PDF Review. Remove review page with switch flow
Replies: 1
Views: 9385

PDF Review. Remove review page with switch flow

I would like to be able to deactivate and remove a PDF from PDF Review automatically based on certain conditions in a flow. As it is now, if we simply remove the PDF from the in-folder for PDF Review the link that has been sent to the customer is still active. Is there a way to cancel the PDF Review...
by billy.olvestad
Mon Sep 02, 2019 5:45 pm
Forum: LEGACY scripting
Topic: SQL Statement works in build window but parse error in define window
Replies: 6
Views: 11125

Re: SQL Statement works in build window but parse error in define window

solution is pretty easy (although not too clear): remove all carriage returns from the built SQl query and it will work fine Woohoo! I just had the same problem a few years later, and I have been pulling my hair out because of this. Removing the carriage returns that switch puts in is the solution....
by billy.olvestad
Fri May 10, 2019 10:07 am
Forum: Flows
Topic: Paused HTTP GET (error)
Replies: 6
Views: 7709

Re: Paused HTTP GET (error)

Hi All, We recieve in a XML file the location of the printfiles. Sometimes the link is broken, and is it impossible to download the file. But when that happens the HTTP Request gets a red gear, and every other file is put on hold until I manual delete the XML file with the broken link. errordownloa...
by billy.olvestad
Thu Apr 04, 2019 9:43 am
Forum: Flows
Topic: Mail send, Image embedded in the mail?
Replies: 0
Views: 8051

Mail send, Image embedded in the mail?

We have many Mail Send-configurators sending out mail to customers to do a review of files in PDF Review. The logo in the mail is right now pointing to an online logo on the webpage, but that means many email clients strips that image and throws up a warning about images for the customer. Is there a...
by billy.olvestad
Fri Feb 15, 2019 9:42 am
Forum: Flows
Topic: Get modification date for a job file
Replies: 2
Views: 3372

Re: Get modification date for a job file

I logged it as a feature request, but with this code snippet you can add the modification date to the job's private data: var modDate = new File( job.getPath()).lastModified; job.setPrivateData( "ModificationDate", modDate); Oh my god, that was simple :D Thank you very much. You saved my ...
by billy.olvestad
Fri Feb 15, 2019 2:44 am
Forum: Flows
Topic: Get modification date for a job file
Replies: 2
Views: 3372

Get modification date for a job file

I need to get the modified date from windows for files, but I can't find a function that will do that. I can get the creation date with "Job.FileCreationDate", but I need the equivalent for the modified date. I have tried "Doc.Modified" but that doesn't take the date from the fil...