Add list item when user downloads document/image

Hi,

I am hoping some smart people out there can help me with a requirement I have.

The environment consists of a Product Catalog site that is connected to document and image libraries to render a search portal for all the elements stored in these libraries. The user would be able to click on a download link (provided through the display template of the item in the catalog site) 

The requirement is to capture the person and the item detail that he/she downloaded and put it into a custom list. Then whenever an item is updated the custom list can be used to send an email to all users that previously downloaded the item, notifying them that a new version exists.

Sending notifications and leveraging workflows is the easy part, I am however struggling to find a solution on how to populate this custom list. This sounds like event receiver stuff, but I am hoping to achieve this without custom code if possible.

Any sugges

August 25th, 2015 8:58am

Hi Dirk,

As your description, you want to capture user information when he/she download a document and put it into a custom list.

In SharePoint, there is no OOTB way to do it. And also for event recevier, these is no event type for downloading. So, I think, event receiver is also unavailable for you.

As a workaround, you can use JavaScript to monitor the "Download" click event, then using JavaScript Client Object Model or REST API to add user information into a custom list.

Best Regards,

Wendy

Free Windows Admin Tool Kit Click here and download it now
August 26th, 2015 1:09am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics