Search found 358 matches

by Padawan
Mon Sep 14, 2020 12:36 pm
Forum: LEGACY scripting
Topic: XML-path to string
Replies: 14
Views: 25333

Re: XML-path to string

but when I try to get the length x[ i ]["eintragsversion"]["einzeleintrag"]["eintragsdaten"]["zusatzdaten_infos"]["produkt_freigabe"].length I get the same error Trying to access undefined member 'length' This seems normal since the "produkt_fr...
by Padawan
Wed Sep 09, 2020 1:07 pm
Forum: LEGACY scripting
Topic: XML-path to string
Replies: 14
Views: 25333

Re: XML-path to string

if you want to check for undefined you have to:

Code: Select all

if (typeof myVariable == "undefined") {
    job.log(3, "myVariable is undefined");
}
by Padawan
Tue Sep 01, 2020 4:15 pm
Forum: Flows
Topic: Create a new Job Folder
Replies: 1
Views: 2626

Re: Create a new Job Folder

I would implement it like this - Have a submit point (requires SwitchClient Module + Metadata module) where people have to fill in Job Number, Job Name, Location, Mode - Have a "Set hierarchy path" where you set the name of the jobfolder using the variables from the submit point - Use the ...
by Padawan
Mon Aug 24, 2020 9:52 am
Forum: Node.js scripting
Topic: NodeScriptExecutor.js.map
Replies: 10
Views: 15887

Re: NodeScriptExecutor.js.map

That also looks normal to me. I think it is best to first check the basics. - Have the script in a Switch flow - Set debug to yes in the script element - make sure the entry point you want to test is in "debug entry points" - activate the flow - If you want to test the jobarrived entry poi...
by Padawan
Mon Aug 24, 2020 9:10 am
Forum: Node.js scripting
Topic: NodeScriptExecutor.js.map
Replies: 10
Views: 15887

Re: NodeScriptExecutor.js.map

I'm sorry, I meant the launch.json file (it is in your .vscode) folder. I don't know the file names by hard yet in the new scripting engine.
by Padawan
Sat Aug 22, 2020 9:51 am
Forum: Node.js scripting
Topic: NodeScriptExecutor.js.map
Replies: 10
Views: 15887

Re: NodeScriptExecutor.js.map

Can you share your package.json file?
by Padawan
Fri Aug 21, 2020 11:36 am
Forum: LEGACY scripting
Topic: XML-path to string
Replies: 14
Views: 25333

Re: XML-path to string

bkromer wrote: Fri Aug 21, 2020 10:30 am Bildschirmfoto 2020-08-21 um 10.24.45.png
Your screenshot shows that \Lieverung\ has an attribute and a subnode, but no simple string content. I guess that is why the variable doesn't return anything.

Which return do you want to get?
by Padawan
Fri Aug 21, 2020 10:24 am
Forum: Node.js scripting
Topic: NodeScriptExecutor.js.map
Replies: 10
Views: 15887

Re: NodeScriptExecutor.js.map

Is there anything related to sourceMaps in your package.json file? If so, can you try removing/disabling it?
by Padawan
Thu Aug 20, 2020 6:53 pm
Forum: Node.js scripting
Topic: NodeJS debugging
Replies: 11
Views: 11291

Re: NodeJS debugging

Is there any error in the messages?
by Padawan
Mon Aug 17, 2020 11:45 am
Forum: Appstore
Topic: Beta testers requested for new "Flow Links" app
Replies: 14
Views: 28761

Re: Beta testers requested for new "Flow Links" app

That is fixed now
by Padawan
Thu Aug 13, 2020 11:03 am
Forum: Flows
Topic: Best way to delete files in a folder older then X?
Replies: 12
Views: 17131

Re: Best way to delete files in a folder older then X?

jan_suhr wrote: Thu Aug 13, 2020 9:28 am A shared network volume would normally only have work files on it, no system files should be on a network volume.
Just my two cents: I've seen people share the entire C drive

System files should not be on a network volume, but that doesn't mean that they can't be :)
by Padawan
Wed Aug 12, 2020 8:59 am
Forum: Action Lists
Topic: Die line, thru-cuts, CutContour, ContourCut Does the list ever stop!!!!
Replies: 5
Views: 6874

Re: Die line, thru-cuts, CutContour, ContourCut Does the list ever stop!!!!

When you use regular expressions you don't have to use a single select for each layer name, you can all combine them in one select action with a regular expression. The following one will literally match any layername in your list: (Dieline|thru-cut|cutcontour|contourcut|cut|die|kiss-cut) regex1.png...
by Padawan
Tue Aug 11, 2020 8:38 am
Forum: PitStop Server
Topic: Upgrading from Pitstop Server 2019 to Server 2020 on a Mac
Replies: 1
Views: 3595

Re: Upgrading from Pitstop Server 2019 to Server 2020 on a Mac

1 make sure that your system meets the system requirements of the new version, you can find them here: https://www.enfocus.com/en/support/system-requirements/pitstop-server-system-requirements 2 Make sure you have the v 2020 license available 3 Close down PitStop Server 2019, including background pr...
by Padawan
Mon Aug 10, 2020 9:10 am
Forum: PitStop Server
Topic: Pitstop error 3402
Replies: 1
Views: 3125

Re: Pitstop error 3402

Does this happen with a PDF report or an XML report?

Possible causes I see:
- PitStop Server doesn't has the permissions to write a file in the location it should be outputted
- The incoming file has a very long filename, when "_report" is added as suffix the path is to long
by Padawan
Thu Aug 06, 2020 11:57 am
Forum: Node.js scripting
Topic: Migrate from legacy scripting to Node.js scripting
Replies: 2
Views: 3681

Re: Migrate from legacy scripting to Node.js scripting

If you have no experience yet with Node.js scripting, then I would advise to first get yourself familiar with node.js scripting. There are many online resources available for that. Once you have that you can work with the documentation: https://www.enfocus.com/manuals/DeveloperGuide/SW/20/home.html#...