sharepoint

using rich textbox in Sharepoint 2013

邮差的信 提交于 2019-12-24 01:39:12
问题 I want to use a rich textbox in Sharepoint 2013 as seen in the figure below. How can I do that? I have already used the code below. <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <SharePoint:InputFormTextBox ID="RichTextField1" runat="server" TextMode="MultiLine" RichTextMode="FullHtml" Columns="20" Rows="10"/> but I could not get what I need. I got a simple

MS Graph API Unknown Error when trying to get folder's children

女生的网名这么多〃 提交于 2019-12-24 00:48:59
问题 When trying to access a specific folder in my sharepoint site's drive using the Microsoft Graph API relative pathing I get an unknown error. This exact same request worked fine just over a week ago but stopped working this week when using it again. Test Results is a folder on my site's drive. According to OneDrive dev docs this is how the request should look: /drive/root:/path/to/folder:/children Actual Request (site-id removed): https://graph.microsoft.com/v1.0/sites/<site-id>/drive/root:

Upload large files 100mb+ to Sharepoint 2010 via c# Web Service

。_饼干妹妹 提交于 2019-12-24 00:35:54
问题 I am unable to upload large files to Sharepoint 2010. I am using Visual Studio 2010 and Language C#. I have tried multiple ways from content I have found online but nothing has worked. I have changed the settings and config files to the maximum allowed upload limits and still nothing. I am using the copy.asmx for small files which works fine and am trying UploadDataAsync when the file is too large and an exception is thrown but this is not working. Please take a look at the code below... Any

SharePoint Publishing HTML Field Control Converts Relative URL to Absolute URL

早过忘川 提交于 2019-12-23 23:22:09
问题 So, after much research on whether or not we should the CEWP or the HTML Field Control on an external facing SharePoint site, we settled on using the Field Control (much thanks to AC). Now, we are having an issue that all the blogs I read say should not be an issue. When we put a relative URL into the HTML Editor and hit OK, it is automatically changed to an absolute URL. This is apparently a "feature" of Internet Explorer from some of the research I have been doing. TinyMCE has a work around

Trouble with OR in Sharepoint CAML

故事扮演 提交于 2019-12-23 21:32:33
问题 I'm trying to query a list and get newsletter articles back that match the list of active newsletters. The trouble comes in when trying to pull items via CAML. If I do an OR loop with two CONTAINS, it works great. For example: <Where> <Or> <Contains> <FieldRef Name=\"Newsletter_x0020_Name\"/> <Value Type=\"Lookup\">April 2012</Value> </Contains> <Contains> <FieldRef Name=\"Newsletter_x0020_Name\"/> <Value Type=\"Lookup\">May 2012</Value> </Contains> </Or> </Where> Works great! Add in a third

SPListItem.Properties DateTime Fields are in weird Hex format

╄→尐↘猪︶ㄣ 提交于 2019-12-23 20:36:50
问题 Does anyone know how to convert these string hex values back into DateTime values? Property my_DateProperty (System.String) = 0x01c9874e|0x98f28800 //l_item is SPListItem Hashtable l_properties = l_item.Properties; if (l_properties != null) { object l_value = null; foreach (string l_key in l_properties.Keys) { l_value = l_properties[l_key]; Splogger.log("Property " + l_key + " (" + l_value.GetType().ToString() + ") = " + l_value.ToString()); } } 回答1: I discovered recently that this seems to

is there any easy wasy to convert the XML output from sharepoint GetListItems() to a DataTable

六月ゝ 毕业季﹏ 提交于 2019-12-23 19:57:26
问题 i am able to retrieve data from sharepoint com.sharepoint2.Lists lists = new Lists(); lists.Credentials = new System.Net.NetworkCredential("user", "pwd", "domain"); lists.Url = "http://sharepoint2.company.com/sites/mysite/_vti_bin/Lists.asmx"; XmlNode ndQuery = xmlDoc.CreateNode(XmlNodeType.Element, "Query", ""); XmlNode ndViewFields = xmlDoc.CreateNode(XmlNodeType.Element, "ViewFields", ""); XmlNode ndQueryOptions = xmlDoc.CreateNode(XmlNodeType.Element, "QueryOptions", ""); XmlNode

My webpart event handling does not fire in SharePoint

跟風遠走 提交于 2019-12-23 19:54:22
问题 I started coding something complicated and then realized my event handlers don't work, so I super simplified a button with an event handler. Please see the code below and maybe you can tell me why it doesn't fire? using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Web.UI; using System.Web.UI.WebControls.WebParts; using Microsoft.SharePoint; using System.Web.UI.WebControls; namespace PrinterSolution { [Guid("60e54fde-01bd-482e-9e3b-85e0e73ae33d")

How to use VBA or Powershell to export lists from Sharepoint server with NTLM Authentication to Excel

社会主义新天地 提交于 2019-12-23 19:51:06
问题 My employer tasked me with finding a way to automate downloading/updating SharePoint lists from a SharePoint 2013 Server that uses NTLM authentication. Possible means to do this are VBA or Powershell. The list I want to pull belongs to a business partner of my company and it holds the current state of Documents that are to be written, reviewed and released. The exported list is used for comparison between their database(the SharePoint Server) and ours(Oracle based). I first tried using

Sharepoint 2007: Create a multi-line text custom property for a custom field type?

别来无恙 提交于 2019-12-23 19:31:01
问题 I'm trying to extend the built-in Choice field type to include another piece of data: a correct answer. With this, users would be able to create their own tests directly within Sharepoint instead of having to use InfoPath or some other convoluted solution. I was hoping to just inherit the existing SPFieldChoice type and add one more custom property to hold an integer representing the correct answer from the choices entered. I've got a FieldTestQuestion class that inherits from SPFieldChoice