Copy link to clipboard
Copied
I am trying to split a PDF based on a site code. I have come across this guide leveraging Adobe PDF Extract services however I can't get it to work based on our Site Code utilising the sample PDF file works but what I would like to do is filter the array based on text.
For my use case, I have a document that contains 3000 pages. I would like to build a flow that checks each page for the Site Description which is in this format: "Site A (Support)"; and which will split the PDF's into categories based on what's in the bracket so in the example above it would be 'Support'.
When I set my array to 'Text' and set it to 'Contains' and 'Support' or '(Support)'. I get an error message saying the following:
Failed: 'The template language function 'contains' expects its first argument 'collection' to be a dictionary (object), an array or a string. The provided value is of type 'Null'.'.
Any guidance would be appreciated on how I can search for particular categories such as 'Support' 'HR' 'Finance' etc.
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now