I want to add restriction to upload only one attachment in list item. I implement attachmentadding event, but if user delete the second attachment, I am not able to get the latest attachment count.
Remote Event Receiver-How to get attachment of list item before updating or adding list item
186 views Asked by user9989023 At
1
You can check the attachment count using CSOM code below:
Get All Attachments From List Item in SharePoint using CSOM