I have been using Switch for so long now that I think I've become a bit set in my ways in some things. I just noticed this haha
Both json pickups are found this way, enable names and values at the bottom:
Search found 276 matches
- Fri Apr 19, 2024 12:05 pm
- Forum: Switch
- Topic: Search for Flows in Designer
- Replies: 5
- Views: 654
- Fri Apr 19, 2024 10:54 am
- Forum: Switch
- Topic: Search for Flows in Designer
- Replies: 5
- Views: 654
Re: Search for Flows in Designer
I'm using the notepad++ method too, however not with the html files. Instead I search the flow xml's.
Not the most elegant way, but using this trick for some time now
Not the most elegant way, but using this trick for some time now
- Wed Mar 06, 2024 3:04 pm
- Forum: PitStop Pro
- Topic: Acrobat Update 2023.008.20533
- Replies: 16
- Views: 5193
Re: Acrobat Update 2023.008.20533
Am I missing a check mark? I have disabled all automatic updates for Adobe, in the CC Application and Acrobat Pro itself! And Acrobat was updated this morning to version 2023.008.20555! I really double checked everything after the rollback to version 2023.008.204xx!!! I had the same problem a coupl...
- Wed Oct 25, 2023 2:28 pm
- Forum: Node.js scripting
- Topic: Update Values in xml files
- Replies: 5
- Views: 11078
Re: Update Values in xml files
Great
Just to be sure you know this: Switch XSLT transform only supports XSLT 1.0.
If you go with the Saxonica Saxon configurator you can use 2.0 and 3.0 too:
https://www.enfocus.com/en/appstore/pro ... nica-saxon
Just to be sure you know this: Switch XSLT transform only supports XSLT 1.0.
If you go with the Saxonica Saxon configurator you can use 2.0 and 3.0 too:
https://www.enfocus.com/en/appstore/pro ... nica-saxon
- Wed Oct 25, 2023 2:20 pm
- Forum: Preflighting
- Topic: Using Submit Metadata in Pitstop Varibale Set
- Replies: 7
- Views: 25485
Re: Using Submit Metadata in Pitstop Varibale Set
Do you open the variable set via Switch or directly via PitStop server?
PitStop server: Via Switch: Notice the difference?
PitStop server: Via Switch: Notice the difference?
- Wed Oct 25, 2023 2:01 pm
- Forum: Preflighting
- Topic: Using Submit Metadata in Pitstop Varibale Set
- Replies: 7
- Views: 25485
Re: Using Submit Metadata in Pitstop Varibale Set
This is the way.
1+2. Select your Variable Set.
3. Go with Text with Variables.
4+5. Define your Switch variable over here.
1+2. Select your Variable Set.
3. Go with Text with Variables.
4+5. Define your Switch variable over here.
- Wed Oct 25, 2023 10:43 am
- Forum: Node.js scripting
- Topic: Update Values in xml files
- Replies: 5
- Views: 11078
Re: Update Values in xml files
I would go with Saxon and an xslt: Input: <order> <jobs> <job> <jobID>A</jobID> <fileName>*/abcdef.pdf</fileName> </job> <job> <jobID>B</jobID> <fileName>*/abcdef.pdf</fileName> </job> </jobs> </order> XSLT: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="3.0...
- Fri Oct 20, 2023 4:45 pm
- Forum: Switch
- Topic: HTTP request POST
- Replies: 4
- Views: 8728
Re: HTTP request POST
This will do:I intended to ask a similar question and found this article. Can anyone tell me how to use that json file after creating a json file?
- Thu Jul 07, 2022 6:14 pm
- Forum: PitStop Pro
- Topic: Trimbox value in "variable value".
- Replies: 2
- Views: 2873
Re: Trimbox value in "variable value".
Coincidentally, I was playing around with something like this last week. Create a variable set. Acrobat -> PitStop Pro -> Variable Sets -> Variable Set Preferences... https://i.imgur.com/c0ybESQ.png 1. Enable Variable Names 2. Click this blue thing to select the Variable Set https://i.imgur.com/V8it...
- Fri Aug 21, 2020 10:40 am
- Forum: LEGACY scripting
- Topic: XML-path to string
- Replies: 14
- Views: 26052
Re: XML-path to string
Escape your " with \ like this
Code: Select all
var xml = job.getVariableAsString("[Metadata.Text:Path=\"/lieferung/\",Dataset=\"Xml\",Model=\"XML\"]");
- Wed Aug 12, 2020 10:30 am
- Forum: Flows
- Topic: Best way to delete files in a folder older then X?
- Replies: 12
- Views: 17384
Re: Best way to delete files in a folder older then X?
You might be interested in my approach with Powershell which supports UNC paths. Fire up via execute command: $paths = @( ("d:\sftp\sander\nl"), ("d:\sftp\sander\de") ) foreach ($path in $paths) { $limit = (Get-Date).AddDays(-7) Get-ChildItem $path -Recurse | ? { -not $_.PSIsCon...
- Fri Mar 06, 2020 10:42 am
- Forum: LEGACY scripting
- Topic: Get part of an API Response(JSON)
- Replies: 6
- Views: 10039
Re: Get part of an API Response(JSON)
Define your var outside your function or use return?
- Fri Mar 06, 2020 9:14 am
- Forum: LEGACY scripting
- Topic: Get part of an API Response(JSON)
- Replies: 6
- Views: 10039
Re: Get part of an API Response(JSON)
Code: Select all
try {
jsonReturn = JSON.parse(theHttp.getServerResponse().toString('UTF-8'));
log(2, jsonReturn.id);
} catch(theError) {
log(2,'json parse error: ' +theError);
}
- Thu May 02, 2019 12:45 pm
- Forum: Imposition
- Topic: Imposing Smartstream Production Pro Print server
- Replies: 2
- Views: 12873
Re: Imposing Smartstream Production Pro Print server
First of all. Don't take all DFE errors/warning seriously. This is my auto-impose 2up ticket template. It's for papersize 320x460 on a Indigo 7x00. Let's take a look at the default paper size and image size values.. https://i.imgur.com/rwdGehH.png > You are not able to add a custom ticket template w...
- Fri Mar 01, 2019 5:10 pm
- Forum: LEGACY scripting
- Topic: xml & xsl to PDF file
- Replies: 2
- Views: 6486
Re: xml & xsl to PDF file
As far as I know there's no html when you open a xml with a xsl. It looks nicely formatted from within a browser but that's it, it's still xml. Try Saxon, there's a configurator for that one, and set the according stylesheet. I'm wondering what the output of this is, after we can see what to do with...