sharepoint

How to attachment a file to an item in Sharepoint using Microsoft.Graph

跟風遠走 提交于 2019-12-22 12:28:12
问题 Microsoft.Graph Sharepoint api allows to update list item https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/listitem_update using PATCH request. But how to generate a correct request? using (HttpClient pacthClient = new HttpClient()) { var mediaType = new MediaTypeWithQualityHeaderValue("application/json"); pacthClient.DefaultRequestHeaders.Accept.Add(mediaType); pacthClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", userToken); using

An unexpected error has occurred

好久不见. 提交于 2019-12-22 12:17:30
问题 I have created an asp.net web application on my local machine and I am deploying it to sharepoint. For that I am refereing the following Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder [http://msdn.microsoft.com/en-us/library/cc297200.aspx] Its works perfect on my local machine but when I was trying to deploy the same on clients machine it was giving me the " An unexpected error has occurred. " Error. The scenario is, There is not visual studio

Div with a width of 100%, next to a fixed width one

╄→尐↘猪︶ㄣ 提交于 2019-12-22 12:02:12
问题 Sorry for the incredibly stupid question, I feel like in most circumstances I could do this easily, but I'm using sharepoint at the moment and trying to do anything in this is hell! Basically I have a side navigation (.menu-vertical) that is 230px wide, and a div next to it (.mainContent) that I would like to (padding aside!) fill the rest of the screen. Unfortunately there are around 798 randomly placed divs, spans and whatever else in the code too that I can't seem to strip without breaking

SharePoint 2010 - Changing from Kerberos to Claims-Based Authentication

*爱你&永不变心* 提交于 2019-12-22 11:33:32
问题 I want to change the Authentication Provider from Kerberos to Claim-Based in my SharePoint 2010 Enterprise Edition environment. What problems can occur in my SharePoint environment? I heard that there are problems with the RSS Reader Webpart if the Webpart consumed a feed from my SharePoint. It will probably not be usable with Claim-Based Authentication. Are there other problems like this? 回答1: You mean that you want to change from classic authentication to claims-based authentication. Claims

Sharepoint Workflow Fails When First Run But Succeeds When Run Manually

▼魔方 西西 提交于 2019-12-22 11:29:26
问题 We are using an infopath form that when submitted is supposed to fire off a custom .NET workflow. Basically, the information within the form is used to create a new sharepoint site. What I am seeing happen is that the first time the workflow runs (which is automatic after the form is submitted), the workflow errors out. When I run the workflow manually immediately after it fails, the workflow runs fine. this.workflowProperties.Item["Client Name"] I've debugged the issue down to the above line

Workflow Current Item Boolean does not work

旧城冷巷雨未停 提交于 2019-12-22 11:28:56
问题 I'm wondering if anyone has run into this situation. I have a 2010 workflow running on a SharePoint 2013 hosted site. I am checking for a boolean field in the workflow. The boolean is set correctly in the list as true and my log statement does in fact show the field is set to true. There are no errors in the log. The code below my IF statement should fire but it never does. What could cause this not to work? If current item:Resubmit equals yes Thanks! 回答1: I have a very long 2010 SPD workflow

Is it possible to run two SharePoint instances on one server?

主宰稳场 提交于 2019-12-22 11:01:23
问题 Simple question : Is it possible to run two SharePoint instances on one server? With a not so simple answer I suspect. Thanks, Peter 回答1: Three answers: A server can only be connected to one "config database", meaning you can only run one FARM instance. A server can host multiple SSPs, so you can run multiple SEARCH, USER PROFILE, MY SITE instances. Not recommended though. A server can host as many web applications (websites) as you'd like. 回答2: We've been running multiple instances on

OneDrive Copy Item using Microsoft Graph SDK - GatewayTimeout at 10 seconds if ~>38mb file

你。 提交于 2019-12-22 10:47:06
问题 I am using the MS Graph .net SDK. Attempting to copy a sharepoint document library to another sharepoint document library. If the file is approximately 38mb, a GatewayTimeout exception is thrown for an unknown error. Either MS has a bug, or I am doing something incorrectly. Here is my code: HttpRequestMessage hrm = new HttpRequestMessage(HttpMethod.Post, request.RequestUrl); hrm.Content = new StringContent(JsonConvert.SerializeObject(request.RequestBody), System.Text.Encoding.UTF8,

ECMA script Error: The collection has not been initialized

坚强是说给别人听的谎言 提交于 2019-12-22 10:37:57
问题 I am getting this error while using querying a SharePoint list (2010) through JQuery The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested. I am looping through all the options in html select element and querying SharePoint list. $("#IdeasStatus option").each(function() { statusCount = statusCount + 1; lstStatus.push($(this).val()); }); for (var i = 0; i < lstStatus.length; i++) { *****Some Code*********

Gettting 400 Bad Request while uploading file to SharePoint 2010 using Copy.CopyIntoItems web service

这一生的挚爱 提交于 2019-12-22 10:34:16
问题 New to SharePoint. I'm trying to upload a document to SharePoint using it's CopyIntoItems web service method with Java but keep on getting 400 Bad Request. I've use the Java's wsimport to generate the class files from the .wsdl file. Here is my Java code with the generated classes. public static void createDocument(CopySoap port) { String url = SoapPortProvider.spSiteUrl + "/Shared Documents/Temp Folder/test.txt"; String sourceUrl = "http://null"; byte[] content = IoUtil.getBytes(new File("C: