Easily identify features with attachments in ArcGIS PRO

172
4
09-17-2019 08:00 AM
Status: Open
Labels (1)
Environnement_1Lausanne
Occasional Contributor

Hello,

It would be very useful to be able to very simply identify which features have attachments. It could be a column in the attribute table with a boolean TRUE / FALSE value for the ATTACHMENT field.

Even better, an additional column saying how many attachments are linked to each features.

Thanks in advance

4 Comments
KoryKramer

While not entirely built-in, you should be able to accomplish this using some guidance from Visualize your attachments in ArcGIS Online with Arcade 

It looks like you would leverage the Attachments Arcade function Data Functions | ArcGIS for Developers 

Since this was introduced in Arcade 1.6, make sure you're using ArcGIS Pro 2.4.x: Version Matrix | ArcGIS for Developers 

LeviCecil

Couldn't you just write a Python function to create this field and then populate it with a true or false based on whether or not there is an attachment? 

Environnement_1Lausanne

Hi Kory, thanks a lot. We'll have to upgrade our ArcGIS PRO version to use the function.

I tried on ArcGIS Online and it seems to work fine with Arcade in test mode but when I want to apply the changes, it tells me "unable to append the data". Do you have any idea why ? I can edit the feature layer.

Environnement_1Lausanne

Yes, I could indeed but I had read that ESRI had done a few devs in this direction so I wondered if a tool or function was about to be released. It is indeed the case according to Kory's message.