Hi,
I've tried the first time to work with the XPath Repeater App. I need to add for example numbers from 0001-1000 to the same pdf file. The App seems to solve my issue to generate the numbers, the only problem I have is that the leading zeros from the numbers are missing when i want to use them as private Data. I always need a number that consist of four digits. Is there any solution?
Leading Zeros missing in Private Data
Leading Zeros missing in Private Data
- Attachments
-
- PrivateData-loop_should be0001.png (183.34 KiB) Viewed 7591 times
-
- loopstartvalue_fromMetadatafield.png (147.98 KiB) Viewed 7591 times
Re: Leading Zeros missing in Private Data
I use this app all the time, it's great!.
The loop private data key is used to show what number of the loop is used from the XML in the output based on on 'repeat job n times' value, eg: first loop of the xml would be 1, second 2, and so on.
Are you trying to duplicate the pdf x amount of time and add a suffix to them from 0001-1000? Or how is this being used.
The loop private data key is used to show what number of the loop is used from the XML in the output based on on 'repeat job n times' value, eg: first loop of the xml would be 1, second 2, and so on.
Are you trying to duplicate the pdf x amount of time and add a suffix to them from 0001-1000? Or how is this being used.
Color Science & Workflow Automation
- Soul Forge
- Member
- Posts: 61
- Joined: Wed Jul 12, 2023 5:25 pm
Re: Leading Zeros missing in Private Data
I think one solution would be adding a letter, to the beginning of the number, when defining the private data. eg. "L0001"
Then you could use the "After" option when using the private data else where, looking for everything that's after "L".
Then you could use the "After" option when using the private data else where, looking for everything that's after "L".
Re: Leading Zeros missing in Private Data
Thanks for your response. The configuration of the xpath repeater app wasn't correct already, now it works!