Search found 172 matches

by Padawan
Tue Apr 09, 2019 11:26 am
Forum: Scripting
Topic: Don't send Login and password in plain text within the url to web service?
Replies: 6
Views: 159

Re: Don't send Login and password in plain text within the url to web service?

From the documentation of the http class: user : String This property contains a user name if authentication is to be used. If authScheme is set to HTTP Basic Authentication, the user and password are Base64 encoded, and the result in the form "Basic [encoded-user-password]" is used for authorizatio...
by Padawan
Mon Apr 08, 2019 8:09 pm
Forum: Scripting
Topic: Don't send Login and password in plain text within the url to web service?
Replies: 6
Views: 159

Re: Don't send Login and password in plain text within the url to web service?

Can you replace

Code: Select all

	theHTTP.addParameter("username", apiUser);
	theHTTP.addParameter("password", apiPass);
with

Code: Select all

	theHTTP.user  = apiUser;
	theHTTP.password = apiPass;
This is the way to define username and password when using Basic Authentication, which you have configured.
by Padawan
Thu Apr 04, 2019 7:36 pm
Forum: Scripting
Topic: Get list of PDF-files from folder to populate drop-down
Replies: 9
Views: 2356

Re: Get list of PDF-files from folder to populate drop-down

Strange. Afaik I always return arrays for drop downs, I'll check again tomorrow.
by Padawan
Thu Apr 04, 2019 5:05 pm
Forum: Scripting
Topic: Get list of PDF-files from folder to populate drop-down
Replies: 9
Views: 2356

Re: Get list of PDF-files from folder to populate drop-down

I suspect that the datatype of your metadata property is text instead of dropdown. Can you check this?
by Padawan
Fri Mar 29, 2019 8:50 am
Forum: Flows
Topic: FTP Receive Flow
Replies: 2
Views: 134

Re: FTP Receive Flow

- Received files from FTP Server with FTP Receive but I could receive files, or folders : How could I set up this ? For this you will need to play with the "subfolders levels" setting in the FTP Receive element. This way you can differentiate between the subfolder levels which define the structure ...
by Padawan
Fri Mar 29, 2019 8:40 am
Forum: Flows
Topic: Multiple datasets in one Text path
Replies: 3
Views: 168

Re: Multiple datasets in one Text path

To my knowledge this is not possible with variables. Via scripting you could:

- Merge your two preflight reports into one preflight report. Then you could use your variable on the merged report
or
- loop over all the items in both datasets and return all the messages
by Padawan
Fri Mar 22, 2019 1:01 pm
Forum: Scripting
Topic: passing results from a switch script into the flow
Replies: 2
Views: 141

Re: passing results from a switch script into the flow

You can store them as private data to the job using: myJob.setPrivateData( tag : String, value : String ) See: https://www.enfocus.com/manuals/DeveloperGuide/SW/18/home.html#en-us/common/sw/reference/r_job_class.html After that you can access the values using Switch variables: [Job.PrivateData:Key="...
by Padawan
Sat Mar 09, 2019 8:25 am
Forum: PitStop Pro
Topic: buying pitstop
Replies: 2
Views: 196

Re: buying pitstop

The online store is managed by an external company called asknet. Have you contacted them already about your issue? You can find their faq here https://esko.support-asknet.com/en/support/solutions And their contact details here https://esko.support-asknet.com/en/support/solutions/articles/1500000115...
by Padawan
Fri Mar 08, 2019 9:42 am
Forum: Scripting
Topic: Is this possible...?
Replies: 2
Views: 189

Re: Is this possible...?

This is currently not possible, see my reply here:
viewtopic.php?f=13&t=2673#p8895

In that thread it is related to scripting while your case is related to database connections, but the limitation is valid for both.
by Padawan
Tue Mar 05, 2019 6:14 pm
Forum: Scripting
Topic: Submit point script expression question
Replies: 4
Views: 475

Re: Submit point script expression question

You can do interesting things with script expressions in submit points. It allows you to get information from outside of Switch: - Request things via a HTTP API For example, list all the presets of a RIP and show them to the user. Then that preset can be used when sending the job to that RIP. - Read...
by Padawan
Fri Mar 01, 2019 8:38 am
Forum: Scripting
Topic: Submit point script expression question
Replies: 4
Views: 475

Re: Submit point script expression question

The script expressions for submit points default values are all executed on the Switch Server between the moment you drop a file on the submit point and the moment you see the form to fill in the metadata in the webclient. (This is the reason it can take a while for the form to show up if you have l...
by Padawan
Tue Feb 19, 2019 9:43 pm
Forum: Applications
Topic: switch 18 performance module force all slots
Replies: 3
Views: 481

Re: switch 18 performance module force all slots

How many slots are not used and how do you check this? Via the progress pane?
by Padawan
Wed Feb 06, 2019 12:03 pm
Forum: Flows
Topic: Set Private Data to SQL result
Replies: 2
Views: 325

Re: Set Private Data to SQL result

How are you storing the result in private data? Personally, I would create a database Switch variable to get the result of your SQL query and store it in private data via the private data property in a folder in Switch. If something goes wrong this way, then I would expect errors in the messages. Do...
by Padawan
Tue Jan 15, 2019 1:41 pm
Forum: Flows
Topic: Switch 2018 update 2 and double unique name prefixes
Replies: 1
Views: 306

Re: Switch 2018 update 2 and double unique name prefixes

I think you will have to get rid of the prefix using the Rename Job tool until Switch 2018, update 3 is released which fixes this.