Http eventhandler未在sharepoint上下文菜单上触发下载副本 [英] Http eventhandler is not triggering on sharepoint context menu Download a Copy

查看:87
本文介绍了Http eventhandler未在sharepoint上下文菜单上触发下载副本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为pdf文档开发了一个http处理程序,并在事件激活时注册。它工作正常,同时从sharepoint文档库中删除文档链接,但是当单击从上下文菜单中选择下载副本时 - >发送到 - >下载副本或从功能区下载副本,代码不会触发。任何想法,为什么它不会触发以及如何解决这个问题?

I have developed one http handler for pdf document and registered on event activate. Its working fine while cliking on the document link from sharepoint document library, But when clicking on Download a Copy from context Menu->Send To->Download a Copy or from ribbon Download a Copy, the code is not triggering.Any thought, why its not triggering and how can fix this?

推荐答案

下载复制链接指的是'_layouts / download.aspx'页面。此页面接受文件的URL作为查询字符串参数。这将用于读取文件并写入输出流。这可能是您的事件处理程序无法触发的原因。
Download a Copy link refers to '_layouts/download.aspx' page. This page accepts the url of the file as Query string parameter. Which will be used to read the file and write to the output stream. This might be the reason for your event handler to not triggering.


这篇关于Http eventhandler未在sharepoint上下文菜单上触发下载副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆