sharepoint

Start Sharepoint workflow “x” days before expiry date

喜夏-厌秋 提交于 2020-01-02 06:28:08
问题 I want to create a workflow on a Sharepoint list and it should send a notification email. The problem is that I want this workflow based on expiry date(send an email 30 days before the expiry date) and I am not creating or updating any new list items. I know workflow can only be created if any item are changed/created but I have seen some buzz around on the net that this can be possible using SPD. Any suggestions would really be appreciated. Thanks, 回答1: Create a SharePoint Designer (SPD)

Sharepoint UserProfileManager without Manage User Profiles right

孤人 提交于 2020-01-02 05:36:08
问题 I have an issue that is driving me a bit nuts: Using a UserProfileManager as an non-authorized user. The problem: The user does not have "Manage User Profiles" rights, but I still want to use the UserProfileManager. The idea of using SPSecurity.RunWithElevatedPrivileges does not seem to work, as the UserProfileManager authorizes against the SSP as it seems. SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(inputWeb.Site.ID)) { ServerContext ctx = ServerContext

SharePoint 2013 Word 转换PDF服务介绍及示例

对着背影说爱祢 提交于 2020-01-01 20:44:03
转载自:http://www.cnblogs.com/jianyus/p/3345734.html 前言:在SharePoint使用过程中,经常会发现将文档进行格式转换的需求,之前,看到SharePoint 2013有将PPT转换PDF文档的服务,后来,才发现SharePoint 2010开始,就有将Word文档转换PDF的服务了,用起来还是不错的。   下面,我们就来看看这个服务,如何将一个Word文档库批量转换成PDF文件,或者,将单一Word文档转换为PDF文档。 一、 效果展示 新建测试Word文档,如下图: 新建文档库inputList作为word存放库,上传测试文档,如下图: 新建文档库outputList,作为输出PDF库,里面没有文件,如下图: 执行文件转换程序,执行后outputList文档库,如下图: 发现outputList还是没有文件,因为该服务是TimerJob的计时器任务,所以需要定时执行,去管理中心,找到该计划任务,立即运行,如下图: 再一次刷新outputList文档库,如下图: 下载一个PDF文件到本地,PDF阅读器打开,如下图: 二、 操作步骤 1、 新建项目,添加引用Microsoft.Office.Word.Server.dll,如下图: 位置如下: C:\Windows\Microsoft.NET\assembly\GAC_MSIL

SharePoint 2013 文档库中PPT转换PDF

匆匆过客 提交于 2020-01-01 20:43:49
  通过使用 PowerPoint Automation Services,可以从 PowerPoint 二进制文件格式 (.ppt) 和 PowerPoint Open XML 文件格式 (.pptx) 转换为其他格式。例如,您可能需要将一批 PowerPoint 97–2003 文件升级到 Open XML 演示文稿文件。您还可以在“编辑”菜单中创建自定义操作,以允许用户按需创建 PDF 版本的演示文稿。 一、效果演示: 1、新建一个ppt文档(office 2013,后缀pptx),添加内容,上传到文档库,如下图: 2、新建一个测试文档库,上传该ppt到文档库,如下图: 3、执行写好的转换程序,执行后,文档库多出一个pdf文档,如下图: 4、查看新生成的pdf文件,如下图:   综上所述,就是使用 PowerPoint Automation Services服务,将文档库中的ppt文档,自动转换成为pdf文档。当然,也可以用于将ppt类型的文档,批量转换为pptx文档。 5、科普一下PPTX类型文档   Open XML标准的简单介绍:Ecma Office Open XML(“Open XML”)是针对字处理文档、演示文稿和电子表格的国际化开放标准,可免费供多个应用程序在多个平台上实现。   该标准旨在提供现有 ISO 标准所无法提供的独特好处

Download file from SharePoint

断了今生、忘了曾经 提交于 2020-01-01 19:05:23
问题 I'm using the REST APIs of SharePoint to query the files hosted inside a corporate user's Office 365 SharePoint site. I have used OAuth to authenticate the user and authorize the the app, as described here: http://msdn.microsoft.com/en-us/library/azure/dn645542.aspx I am able to successfully query the API with a GET request on: https://XXXXXXX.sharepoint.com/sites/xxxxx/xxxxx/myfoldername/_api/files (the request as the Authorization header set to 'Bearer ', as you'd expect.) The above query

Sharepoint Training [closed]

六眼飞鱼酱① 提交于 2020-01-01 16:35:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I need to learn Sharepoint, not so much admin functions, but usage/development. Anyone know if Microsoft makes a free version, and if I need to learn .NET/C# or any other tools? 回答1: First, make sure you learn .NET (you're best off learning C# in my opinion) After you have that down, sign up for a SharePoint

Sharepoint Training [closed]

拟墨画扇 提交于 2020-01-01 16:34:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I need to learn Sharepoint, not so much admin functions, but usage/development. Anyone know if Microsoft makes a free version, and if I need to learn .NET/C# or any other tools? 回答1: First, make sure you learn .NET (you're best off learning C# in my opinion) After you have that down, sign up for a SharePoint

How to get file name from Sharepoint Asset Library

谁都会走 提交于 2020-01-01 15:58:00
问题 How can I get the file name of an image from a SharePoint 2013 Asset Library? I am trying to write a JQuery/REST snippet to search a subset of images within the library, based on their other column values and display them. I would use FileLeafRef in case of a Document Library, but I couldn't find an equivalent field in Asset Library. I so far tried the following, neither returns file name: https:///crm/_api/Web/Lists/GetByTitle('Publication%20List')/items?select=File/Name&expand=File https://

C# Could not load file or assembly 'Microsoft.SharePoint.Library'

僤鯓⒐⒋嵵緔 提交于 2020-01-01 12:10:12
问题 I am developing on a 64bit version of Windows 7, running MOSS (SharePoint), this is my dev machine. Now when I deploy my web service app to a test server Windows 2003 32bit (no Sharepoint installed) I get this error. Could not load file or assembly 'Microsoft.SharePoint.Library, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified The DLL has clearly been copied to the bin directory (Microsoft.Sharepoint.dll)

How can I upload a document to SharePoint with Perl?

狂风中的少年 提交于 2020-01-01 11:39:11
问题 I have a Perl app that runs some perforce operations, in the end I would like it to upload the results to SharePoint website. What is the simplest Perl script that can accomplish a task of adding a document to SharePoint? The script would need to run on Solaris and use as few as possible external libraries as possible (definitely pure classic Perl) getting anything additional installed on these unix boxes is a pain and would have to be done by remote team. If this can uploading document can