Batch adding files as attachments to layers

404
1
05-25-2022 04:02 PM
Labels (3)
SRanseen
New Contributor III

I have a layer covering all our storm water pipes and would like to attach PDF files that relate to these storm water pipes to each individual asset.  The pipes each have their own unique asset id.    Each file will be named the same as the each storm water pipe they are associated with by the asset id. Is it possible using the unique asset id to connect the files from their folders within a drive to the storm water pipe assets?

I have very little python 3 or arcade coding experience.  Just enough to do some analysis and make things look nice.  I am thinking it will work with a related table but am unsure.   I am looking at about 20k files that need to be attached to about 10k assets.

Any help, advice, links is appreciated.  Thank you for your time.

0 Kudos
1 Reply
RhettZufelt
MVP Frequent Contributor

You should be able to use the Generate Attachment Match Table GP tool, then you feed that table into the Add Attachments tool.

R_

0 Kudos