Search found 365 matches

by magnussandstrom
Wed Apr 24, 2024 1:20 pm
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 12
Views: 168

Re: JSON - list of files [SOLVED]

This helps in understanding how. I have not worked with XLSTs in Switch before. It seems a bit daunting to write XLST, but maybe with the help of AI and testing it could work. Some of my flows could surely be optimized in some cases by using XLSTs instead of some of my workarounds. XSLT is very pow...
by magnussandstrom
Wed Apr 24, 2024 8:01 am
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 12
Views: 168

Re: JSON - list of files [SOLVED]

JimmyHartington wrote: Tue Apr 23, 2024 3:36 pm Ok.

And how do you process the XML with the XLST using Saxon?
I hope that helps Jimmy? Have you been working with XSLT in Switch? And if so how?
by magnussandstrom
Wed Apr 24, 2024 6:58 am
Forum: Switch
Topic: Acrobat Freezing with print command
Replies: 3
Views: 76

Re: Acrobat Freezing with print command

I use an CLI app called 2printer together with Execute Command to print documents with Switch. It works very good.
by magnussandstrom
Tue Apr 23, 2024 3:47 pm
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 12
Views: 168

Re: JSON - list of files [SOLVED]

Oh sorry!

First I installed Saxon 9HE using Chocolatey (choco install saxonhe). Then I installed the Saxonica Saxon Switch app.

In the Saxon app element you just need to choose the xsl-file that you want to use for transforming the incoming XML.

flow_saxon_settings.png
flow_saxon_settings.png (140.58 KiB) Viewed 87 times
by magnussandstrom
Tue Apr 23, 2024 3:32 pm
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 12
Views: 168

Re: JSON - list of files [SOLVED]

Nowadays I use ChatGPT-4 to create varios XSLT's. In this case my prompt looked like this: Can you please write me an XSLT code that I can use to split my XML in one XML file per array item, the file name of the outgoing XML files should be named with arrays item name, in this case 0.xml and 1.xml. ...
by magnussandstrom
Tue Apr 23, 2024 11:46 am
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 12
Views: 168

Re: JSON - list of files

Thanks Laurent and Jimmy for two creative solutions!

I solved it this way:

1. Pickup JSON as Legacy app XML
2. Export meta data as XML file
3. Saxon with a simple XSL to split the XML (one per filename)
4. XML pickup
5. HTTP request
by magnussandstrom
Tue Apr 23, 2024 9:36 am
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 12
Views: 168

JSON - list of files [SOLVED]

Hi, I'm using HTTP request to get a list of files as a JSON response. I then use JSON pickup to pickup the response as a JSON dataset. So far so good. Now I would like to download the files listed in the JSON response using HTTP request . But this part I'm struggling with. If it's only one file in t...
by magnussandstrom
Fri Apr 19, 2024 8:18 pm
Forum: Switch
Topic: Search for Flows in Designer
Replies: 5
Views: 299

Re: Search for Flows in Designer

'Element property names' is not the same as 'Element type'. Selecting only 'Element property names' or ' Element property values' won't necessary filter out only flows that contains the specific app. What I request is an easy and reliable way to filter out flows using a specific app, nothing more no...
by magnussandstrom
Fri Apr 19, 2024 11:08 am
Forum: Switch
Topic: Search for Flows in Designer
Replies: 5
Views: 299

Re: Search for Flows in Designer

Yes, I know there are some workarounds. I use FileLocator Pro for similar tasks. But if you could search for 'Element type' in designer the problem would be solved. I have filed a feature request to Enfocus now (ENFFR-3221).
by magnussandstrom
Thu Apr 18, 2024 9:23 am
Forum: Switch
Topic: Search for Flows in Designer
Replies: 5
Views: 299

Search for Flows in Designer

Hi all! Is there a way to filter out only flows that are using a specific app? Let's say I update to the latest version of the app named ABC123 and want to filter out all flows that are using the app ABC123 to update some parameters. I often rename the name of my flow elements because of structure, ...
by magnussandstrom
Wed Apr 17, 2024 4:13 pm
Forum: Flows
Topic: EMFILE: too many open files ..main.js
Replies: 25
Views: 1169

Re: EMFILE: too many open files ..main.js

For anyone struggeling with this issue Enfocus support says: Hello Magnus, Indeed some of the last app versions may be affected by that problem. On the good side i's like to share that the problem has been already investigated and resolved. The next version release will contain a fix this problem pe...
by magnussandstrom
Wed Apr 17, 2024 10:14 am
Forum: Flows
Topic: Any ideas?
Replies: 3
Views: 89

Re: Any ideas?

Yes, I've experienced this when fetching files from a specific client FTP. When I manually login to the FTP the timestamps are correct, also when a manually download a file (Cyberduck). But when Switch is grabbing the file the timestamps are two hours in the future (always the same). In our case it ...
by magnussandstrom
Wed Apr 17, 2024 10:09 am
Forum: Flows
Topic: EMFILE: too many open files ..main.js
Replies: 25
Views: 1169

Re: EMFILE: too many open files ..main.js

Terkelsen wrote: Wed Apr 17, 2024 9:56 am I'm having the same problem but in this case I can only find "Refresh job info" to blame, and there is no way to neither up- nor downgrade that :roll:
I'm using "Refresh job info (4.0)" and do not have any EMFILE-issues with that specific app.
by magnussandstrom
Wed Apr 17, 2024 9:25 am
Forum: Switch
Topic: Group Manager, v24.03 - No connection to the license server(MAC)
Replies: 2
Views: 81

Re: Group Manager, v24.03 - No connection to the license server(MAC)

We are running a similar setup but are using Pitstop Workgroup Manager 23, with the Pitstop 24 licenses added. No issues. Maybe there is a change of the communication with Workgroup Manager 24 or your firewall are not letting all necessary traffic through. I would create a support ticket for this ht...
by magnussandstrom
Wed Apr 17, 2024 9:19 am
Forum: Flows
Topic: EMFILE: too many open files ..main.js
Replies: 25
Views: 1169

Re: EMFILE: too many open files ..main.js

It seems like more bugs or regressions has slipped into the app releases lately. I know the apps are available for beta testing before release. But as I recall it is not possible to run the beta version and a regular version on the same Switch installation. If that was possible I would be more will...