Skip to main content
Solved

ESRI PDF Attachments Exported as PDF


stevelawdis
Participant
Forum|alt.badge.img+2

I’m trying to write a PDF, currently attached to a GIS point feature class, to a PDF file. Preference being that this would be an additional page to another. I currently have a FeatureReader accessing the Attribute Table for the feature class. I have tried using the Adobe PDF GeoSpatial Writer but I am not getting anything but a blank PDF document. Is there a transformer or set of transformers that handles this specific workflow? The Data attribute on the Attachments table contains the original PDF document’s information.

Thank you all, 

Best answer by debbiatsafe

Hello @stevelawdis 

It isn’t necessary to use the PDF writer to write the PDF files that are attachments on a geodatabase feature class.

The attachment table’s DATA field already contains a BLOB that represents the PDF file. So all you need is to output the BLOBs onto disk by either using an AttributeFileWriter transformer or the Data writer. This is true for formats other than PDF as well.

Attached is an example workspace that demonstrates this. The source geodatabase has a point feature class with an associated attachment table. If you navigate to the specified output directory after running the workspace, you should see the PDF files associated with the point feature class written on your file system.

View original
Did this help you find an answer to your question?

3 replies

f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • June 26, 2024

@stevelawdis try pdf styler transformer.


debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • Best Answer
  • June 26, 2024

Hello @stevelawdis 

It isn’t necessary to use the PDF writer to write the PDF files that are attachments on a geodatabase feature class.

The attachment table’s DATA field already contains a BLOB that represents the PDF file. So all you need is to output the BLOBs onto disk by either using an AttributeFileWriter transformer or the Data writer. This is true for formats other than PDF as well.

Attached is an example workspace that demonstrates this. The source geodatabase has a point feature class with an associated attachment table. If you navigate to the specified output directory after running the workspace, you should see the PDF files associated with the point feature class written on your file system.


stevelawdis
Participant
Forum|alt.badge.img+2
  • Author
  • Participant
  • July 8, 2024

Thank you Debbie! The attached workbench is exactly what I was looking for to export the attachment table PDFs!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings