sharepoint

HttpClient fails to authenticate via NTLM on the second request when using the Sharepoint REST API on Windows Phone 8.1

谁都会走 提交于 2020-01-11 12:22:51
问题 Sorry for the long title, but it seems to be the best summary based on what I know so far. We’re currently working on a Universal App that needs to access some documents on a Sharepoint server via the REST API using NTLM Authentication, which proves to be more difficult than it should be. While we were able to find workarounds for all problems (see below), I don’t really understand what is happening and why they are even necessary. Somehow the HttpClient class seems to behave differently on

Excel Match Index for Mutliple Criteria in one cell

血红的双手。 提交于 2020-01-11 12:16:34
问题 I have a spreadsheet which is filled automatically from data in Microsoft Sharepoint. Unfortunately this data fills my location column as follows: IND;# ENG ;# USA if for example that particular input has 3 locations. I then have drop down boxes (made via data validation) to filter the results down and give an optimum result. However when it comes to choosing location i can either choose ALL, IND, ENG, USA OR IND;# ENG ;# USA. If I chose, for instance, IND, then the options that are in

SQL server connecting to SharePoint server

北城以北 提交于 2020-01-11 11:23:10
问题 I wish to connect SQL server 2012 to SharePoint server. This do complete SQL queries..what is the easy way to do so please? I want to download data from a SharePoint table into SQL server table basically. I can only find tutorials connecting SharePoint to SQL server. I want the other way around Happy to do this via SSIS too.. Please help 回答1: There are three options to read from Sharepoint table: (1) Using ODATA Components You can use ODATA Source component to access to the Sharepoint Lists

What is a proper way to store site-level global variables in a SharePoint site?

旧巷老猫 提交于 2020-01-09 11:12:23
问题 One thing that has driven me nuts about SharePoint2007 is the apparent inability to have defineable settings that apply specifically to a site or site collection itself, and not the content. I mean, you have some pre-defined settings like the Site Logo, the Site Name, and various other things, but there doesn't appear to be anywhere to add new kinds of settings. The application I am working on needs to be able to create multiple kinds of "project site collections" that all follow a basic

[SharePoint 2010] Javascript Client Object Model 在SharePoint2010中的使用方法

戏子无情 提交于 2020-01-08 00:14:33
SharePoint2010 提供了基于Javascript的 Client Object Model库,用来操作SharePoint对象模型,当开发时需要用到javascript作客户端开发时,这些库将非常有用,这里介绍一下常规的方法。 1. SP.js load 首先,我们需要将相关的JS库load进来,主要是SP.js这个文件,它具体位置是在C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS下,我们这里可以借助<SharePoint: ScriptLink>这样的服务器端标签来自动引入SP.js, 在页面内加入 <Sharepoint:ScriptLink name="SP.js" runat="server" ID="SPScriptLink" LoadAfterUI="True" OnDemand="true" localizable="false"/> 这样我们的Client Object Model库就load进来了。注意LoadAfterUI=" True ",所以当你的js代码需要在Page_Load()时候执行,并且将调用到SP.js的时候,为了确保SP.js 已经load,请使用

Linking sharepoint documents to vsts work items

与世无争的帅哥 提交于 2020-01-07 09:22:41
问题 My company currently uses Jira and Confluence. In this setup, it is very easy to link a Jira ticket to a Confluence page, via a simple search inside the create link dialog. We're now looking at moving to VSTS Work Items and Sharepoint. I'm wondering whether VSTS Work Items and Sharepoint are strongly integrated as well. Is it easy to insert a link in a VSTS Work Item to the latest version of a Sharepoint document? 回答1: The VSTS isn’t integrated with on-premise SharePoint, but you can add the

Recordset is not updatable (query from two tables)

喜夏-厌秋 提交于 2020-01-07 05:04:06
问题 I am using Microsoft Access 2013 with Sharepoint lists and I have two tables: students : ID, Full name, Mobile, Start_Date (the date that they start studying at my centre), and some irrelevant fields => there are many students with different starting dates [Weeks Off] : ID, Reason, From_Date (the date that the centre is temporarily closed), [Number of Weeks] (the number of weeks that the centre is temporariliy closed from that From_Date) => in each student' study time, they may have some

why GetSiteData(query) returns wrong values

烂漫一生 提交于 2020-01-07 04:51:28
问题 I do a caml query on the forms libraries in entire site collection with SPWeb.GetSiteData(SPQuery). For the field "ServerUrl" it returns just "/" instead of "/site name/library name/formName.xml". With item["ServerUrl"] is returns the right value, but i need to use the GetSiteData method. Here is my code: SPSiteDataQuery q = new SPSiteDataQuery(); q.Lists = "<Lists ServerTemplate='115' />"; q.Query = "<Where><And><And>" + "<Eq><FieldRef Name='" + UserId + "' /><Value Type='Text'>" + User + "<

SharePoint: render, rather than download, XML file

人盡茶涼 提交于 2020-01-07 04:41:09
问题 I'm currently trying to move an XML/XSLT-based website into SharePoint. Basically, the existing site consists of a load of XML files, each of which references (via xml-stylesheet) an XSLT file, which transforms the XML into a full HTML file (including <html> , <head> and <body> etc.). What I'm trying to do at the moment is just to dump the existing site into a SharePoint Document Library, let SharePoint control versioning, access rights etc, but continue to have IE render each XML file into

Get implementation of sharepoint powershell cmdlets

房东的猫 提交于 2020-01-07 03:47:46
问题 How to find managed code SharePoint (whichever version) cmdlets implementations? MSDN does not specify where and how cmdlets are implemented. There is only information how to use them. Is this done for some reason? 回答1: So I started digging… Let’s for example take SharePoint 2013 15 Hive. 15 Hive folder structure explained: SharePoint 2013: The 15 Hive and other important directories CMDLET Registration files location 15/Config/Powershell/Registration folder contains XML cmdlet registration