Search found 40 matches
- Fri Jun 18, 2021 5:51 pm
- Forum: Flows
- Topic: Sort folder based on filename inside the folder?
- Replies: 1
- Views: 2751
Sort folder based on filename inside the folder?
I have folders with one XML-file and two PDF-files like this -Folder1 --AAA_I.pdf --AAA_C.pdf --CCC.xml -Folder2 --BBB_I_Lex.pdf --BBB_C_Lex.pdf --CCC.xml As you can se Folder1 does not have "_Lex" in the end of the pdf-files. But the pdf-files in Folder2 have "_Lex" in the end. ...
- Fri Jun 18, 2021 2:24 pm
- Forum: Flows
- Topic: Name "job folder name" in "Assemble Job" from one of the files?
- Replies: 1
- Views: 2796
Name "job folder name" in "Assemble Job" from one of the files?
I use "Inject wildcard". Incoming job is an XML and I inject several pdf files from a path according to a tag in the XML file. The next step in the flow I use "Assemble Job" to put all the files in a folder and use "private data key" from "Inject wildcard" to ...
- Fri May 21, 2021 11:41 am
- Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
- Topic: Search for shorter words is ignored.
- Replies: 0
- Views: 27048
Search for shorter words is ignored.
The search in the forum ignores shorter words, which in many cases makes it useless. If I want to convert an XML to an Excel and search for "XML to Excel", I get the result.
Search: +Excel
Ignored: "XML" and "to"
I'm not just interested in Excel!
Search: +Excel
Ignored: "XML" and "to"
I'm not just interested in Excel!
- Tue May 04, 2021 1:54 pm
- Forum: LEGACY scripting
- Topic: Loop XML with namespace is not working
- Replies: 3
- Views: 8909
Re: Loop XML with namespace is not working
Thanks it worked!
- Tue May 04, 2021 12:48 pm
- Forum: LEGACY scripting
- Topic: Loop XML with namespace is not working
- Replies: 3
- Views: 8909
Loop XML with namespace is not working
I have this XML with namespace and I want to get e.g all the numbers in the Number tag. But the loop is not working with the namespace. I need to use a loop like this because I'am doing other stuff as well in the loop. <xx.yy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schema...
- Mon May 03, 2021 4:54 pm
- Forum: LEGACY scripting
- Topic: Export CSV file?
- Replies: 0
- Views: 13254
Export CSV file?
I loop an XML and for each criterion that matches I want to add it to a csv file. How can I create and export what matches to a CSV file in Switchscripter with code?
- Thu Apr 29, 2021 9:24 pm
- Forum: LEGACY scripting
- Topic: Any problems to loop XML with 15K lines?
- Replies: 1
- Views: 3345
Any problems to loop XML with 15K lines?
I have two XML:s, XML 1 with 200 lines and XML 2 with 15.000 lines. I need to compare every specifik node in XML 1 with every specifik node in XML 2. I do this with in nested foreach loop in PowerShell today and it takes less than a second. How can Swithscripter handle this? Something like this fore...
- Thu Apr 29, 2021 1:51 pm
- Forum: Flows
- Topic: Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?
- Replies: 3
- Views: 4367
- Thu Apr 29, 2021 1:30 pm
- Forum: Flows
- Topic: Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?
- Replies: 3
- Views: 4367
Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?
We use Switch 2018 and I want to run a Windows *.bat-file. I have read that many recommend "Execute Command". However, I can not find it in Switch among the tools and not when I seach in Enfocus Appstore.
- Thu Apr 29, 2021 1:19 pm
- Forum: Switch
- Topic: Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?
- Replies: 1
- Views: 4955
Running a Windows *.bat-file in Switch 2018? Where can I find "Execute Command"?
We use Switch 2018 and I want to run a Windows *.bat-file. I have read that many recommend "Execute Command". However, I can not find it in Switch among the tools and not when I seach in Enfocus Appstore.
- Tue Feb 09, 2021 9:12 am
- Forum: Flows
- Topic: Clean up files/folders after X days from network drive/folder?
- Replies: 2
- Views: 3283
Clean up files/folders after X days from network drive/folder?
I save files and folders on a network drive (shared internal network). Now I want to clean up/delete all files/folder older than X days. This should be automatic, e.g only keep files/folders 30 days. I have only found this, but "The root folder must be a local folder, network folders are not al...
- Fri Oct 30, 2020 11:24 am
- Forum: Flows
- Topic: Dummy Job Clock
- Replies: 6
- Views: 6934
Re: Dummy Job Clock
Hi Jimmy, I agree that time constraint options would be a useful addition to it. With the current version, would a workaround work where Dummy Job Clock triggers every 5 minutes 24/7 and you then route the resulting file to Trash if current time is between 23:01 and 04:59? ;-) edit: had to try it m...
- Mon Sep 28, 2020 11:55 am
- Forum: Applications
- Topic: Inject dummy job with more selectable intervals
- Replies: 0
- Views: 8976
Inject dummy job with more selectable intervals
I am looking for a module with more selectable intervals to inject a dummy job. For example, two specific days a week, at the end of a month, specific times on certain days, etc. Is there one. You should also not have to change the configuration when you stop the flow (e.g set a new start time). I f...
- Wed Sep 09, 2020 11:29 am
- Forum: LEGACY scripting
- Topic: loop xml nodes?
- Replies: 3
- Views: 5827
Re: loop xml nodes?
To get to the "code" nodes you need to use this Xpath expression: /Orders/Order/Product/code Then to loop through them your for loop needs to start from 0 and you need to use the getFirstChild() function to be able to get to the value of the node. See below code that loops through logs th...
- Wed Sep 09, 2020 10:12 am
- Forum: LEGACY scripting
- Topic: loop xml nodes?
- Replies: 3
- Views: 5827
loop xml nodes?
I have this XML. How can I loop the XML and get all values in <code>? <?xml version="1.0" encoding="UTF-8"?> <Orders> <Order> <Product> <Line_Id>1</Line_Id> <Product_Id>9831</Product_Id> <Name>Pontus</Name> <Qty>1</Qty> <code>AAAAA</code> </Product> <Product> <Line_Id>2</Line_Id>...