Browser download complete event

后端 未结 6 1801
自闭症患者
自闭症患者 2020-12-15 21:33

We\'ve been looking for a while for an answer to this, but haven\'t found a solution.

We have a web server, which allows the user to download files (pdfs), which a

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-15 22:17

    If you can insert an image field in your documents, the image href can point back to your server to confirm that the user has opened the pdf document.

    I haven't tried this myself but looking at the last page of this adobe doc seems possible.

    If you are using Itext it does not support the image fields, but you can use a pdf template with the image field to build your documents and add the javascript to assign the url to the image field.

提交回复
热议问题