How to update by clicking link

We have a requirement that when clicking a link, will start file download, at the meantime, we need to do some data update.

Can anyone advice how to achieve this?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • If they only want to see if a document has been downloaded you could use the fn!getdownloadersfromgroup().

    If the file hasn't been downloaded the result will be empty, otherwise it'll return the list of users who have downloaded the file. Strongly recommend you provide the narrowest-scoped group to this function (rather than, say, 'All Users' which is the whole list of Users in your environment).