Is it possible for a user to start a new document, upload a PDF, and have Windchill automatically extract data from the PDF to populate the fields in the new document wizard?
We do this today with a specific type of formatted Excel spreadsheet. We had a Java customization created to do all the data extraction from the file and then pass those values to attributes on the document. Love to tell you more about it, but I am not a Java developer.
As usual, @avillanueva makes a good point re: complicated.
Would it be enough to read the attribute data from the pdf and update the Doc's attributes automatically (without iterating the doc) after Doc creation?
Can you post a sample pdf and maybe highlight the data in the pdf you want to pass to the Doc?
This will help us to better answer your question.
When I was contacted by one of the moderators seeking help for this post, I created a utility that will read a pdf that is the primary content of a WTDoc and update Windchill attributes of Doc accordingly without iterating the Doc,
The code finds the pdf in the Windchill file vault, reads it and updates the Doc's attributes without iterating the Doc.
The code however would need to be edited to comply with your pdf's formatting.
If you need help, contact me at: