sharepoint

Developing for Sharepoint 2003 using Visual Studio 2008?

自古美人都是妖i 提交于 2019-12-30 09:51:09
问题 Does anyone have experience with developing for Sharepoint 2003 using Visual Studio 2008? I need to upgrade to VS2008 because of Vista issues but need to support Sharepoint 2003 webparts. The webparts are all pretty simple. Will I be able to support those webparts using VS2008? 回答1: AFAIK VS2008 only allows you to build .NET 2.0/3.0 out of the box, but... I have VS2005 projects spitting out .NET 1.1 assemblies for WSSv2/SPS2003 and .NET 2.0 for WSSv3/MOSS2007 using MSBEE and I would think

Suppress NTLM dialog box after unauthorized request

谁都会走 提交于 2019-12-30 08:38:08
问题 In a recent sharepoint project, I implemented an authentication webpart which should replace the NTLM authentication dialog box. It works fine as long as the user provides valid credentials. Whenever the user provides invalid credentials, the NTLM dialog box pops up in Internet Explorer. My Javascript code which does the authentication via XmlHttpRequest looks like this: function Login() { var request = GetRequest(); // retrieves XmlHttpRequest request.onreadystatechange = function() { if

How to access lists of a sub-site in Sharepoint using web services?

ぃ、小莉子 提交于 2019-12-30 07:29:40
问题 I'm experiencing problems when trying to access my sharepoint site using web services (on powershell) given the following configuration: my site is located at https://sharepoint.company.tld/sites/siteid/ the WSDL was fetched from https://sharepoint.company.tld/_vti_bin/Lists.asmx (redirected from https://sharepoint.company.tld/sites/siteid/_vti_bin/Lists.asmx ) After building the web service DLL (following these steps), I do a $list = New-Object Lists and try to obtain a list by it's GUID

Microsoft Graph API for SharePoint in Python: Microsoft.SharePoint.Client.UnknownError [closed]

拈花ヽ惹草 提交于 2019-12-30 07:27:51
问题 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 2 years ago . We are sending out the following query: {u'parentReference': {u'path': u'/drive/root:/Main'}, u'name': u'BusinessDailyTemplate.xlsb'} To the endpoint […path to the file…]:/copy As follows requests.post('[…path to the file…]BusinessDailyTemplate.xlsb:/copy', json={'parentReference': {'path': '/drive/root:/Main'},

how do I validate form fields in sharepoint list?

血红的双手。 提交于 2019-12-30 05:24:11
问题 I want to validate the fields of the list item while adding/editing and stop the saving operation and provide the error information what the user made on that page itself. For ex, if I want to prevent user not to leave few fields set before saving based on particular status of another field, I cannot make the field as mandatory. 回答1: Use PreSaveAction. Add a javascript function named PreSaveAction to your page (it's best if you are creating a custom List Template and can modify the aspx page

Trying to search Sharepoint files using Microsoft Graph api

穿精又带淫゛_ 提交于 2019-12-30 05:18:30
问题 We are using the Microsoft Graph API (new, Office365 unified API renamed to this recently). We have an OAUTH login, with the graph.microsoft.com resource used to generate a token. It works fine to get other subresources such as /me . But when using the URL in Microsoft Graph's documentation that talks about searching drive (and SharePoint?) we cannot find a way to make any sample URL work. It doesn't work when a drive is available for the user nor when SharePoint. So first question, why does

Sharepoint: how can i find all the pages that host a particular web part?

吃可爱长大的小学妹 提交于 2019-12-30 05:03:57
问题 As the question says - is there a way to determine which pages are including my web part? 回答1: If you're looking for code, I've got something for you. If you'd like to find all Content Query web parts then you would call my code like this: FindWebPart("http://server.com/", "Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart"); Here's the code: public static void FindWebPart(string siteCollectionUrl, string webPartName) { using (SPSite siteCollection = new SPSite

What is the best way to retrieve distinct / unique values using SPQuery?

你。 提交于 2019-12-30 01:54:15
问题 I have a list that looks like: Movie Year ----- ---- Fight Club 1999 The Matrix 1999 Pulp Fiction 1994 Using CAML and the SPQuery object I need to get a distinct list of items from the Year column which will populate a drop down control. Searching around there doesn't appear to be a way of doing this within the CAML query. I'm wondering how people have gone about achieving this? 回答1: Another way to do this is to use DataView.ToTable-Method - its first parameter is the one that makes the list

SOAP call with query on result (SSRS, Sharepoint)

房东的猫 提交于 2019-12-29 08:59:05
问题 I created a report in VS using a shared data source which is connected to a sharepoint list. In the report I created a dataset with a SOAP call to the data source so I get the result from the sharepoint list in a table. this is the soap call <Query> <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction> <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems"> <Parameters> <Parameter Name="listName"> <DefaultValue>{BD8D39B7-FA0B-491D

SOAP call with query on result (SSRS, Sharepoint)

≡放荡痞女 提交于 2019-12-29 08:58:11
问题 I created a report in VS using a shared data source which is connected to a sharepoint list. In the report I created a dataset with a SOAP call to the data source so I get the result from the sharepoint list in a table. this is the soap call <Query> <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction> <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems"> <Parameters> <Parameter Name="listName"> <DefaultValue>{BD8D39B7-FA0B-491D