简体   繁体   English

自定义Upload.aspx页面

[英]Customize Upload.aspx page

I have to customise the multiple upload functionalityof sharepoint: 我必须自定义共享点的多个上传功能:

Requirement: On multiple upload I want the system to trigger a single email (containing names of all the files uploaded)at the end of all uploads. 要求:在多个上传中,我希望系统在所有上传结束时触发一封电子邮件(包含所有上传文件的名称)。 The emails ids,subject and body of the mail muct be editable to the user(must appear as a UI) 电子邮件muct的电子邮件ID,主题和正文可对用户进行编辑(必须显示为UI)

Can someone please suggest a solution for the same. 有人可以建议相同的解决方案吗?

Thanks! 谢谢! Payal Smriti Payal Smriti

Maybe you can use SharePoint Timer jobs to query all items on list which have been created lately? 也许您可以使用SharePoint Timer作业来查询列表中最近创建的所有项目?

Query would be SOMETHING like 查询有点像

<Where>
  <And>
    <Leq>
      <FieldRef Name='Created'/><Value Type='DateTime' IncludeTimeValue='TRUE'><Today/></Value>
    </Leq>
    <Ge>
      <FieldRef Name='Created'/><Value Type='DateTime' IncludeTimeValue='TRUE'>{0}</Value> 
    </Ge>
   </And>
</Where

> >

Where at {0} you can use SPUtility.CreateISO8601DateTimeFromSystemDateTime ( this.LastRunTime ) 您可以在{0}使用SPUtility.CreateISO8601DateTimeFromSystemDateTimethis.LastRunTime

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM