Using ArcGIS Pro 2.7.1and having a simple Point feature class in GDB (schools) enabled for Attachment, I am trying to stop and prompt error message when user attached a big size images into the feature class.
I created a Field called `Attach_Size` in the School feature class and assigned a Calculation (Add Immediate Calculation Rule) to apply the code
If(Count(Attachments($feature)) > 0) {
return Attachments(size)
}
But this is not returning any thing either when creating a new feature or editing existing feature. Can you please let me know what I am missing here?
Thanks