sharepoint-api

SPContext.Current.FormContext.OnSaveHandler not firing when SPControlMode is New

牧云@^-^@ 提交于 2019-12-06 04:11:57
I've got a web part that I'm using to add some custom controls to the New, Edit and Display forms for a SharePoint ListItem. I added a handler for SPContext.Current.FormContext.OnSaveHandler to update the item. I add my web part to the Edit and New forms using SharePoint Designer and hide (set IsVisible=False) for the DataFormWebPart that's put in by default. Everything works fine when editing an item. My OnSaveHandler function is called and I update the SPListItem. The problem is with a new item. The OnSaveHandler function is not called unless I have the DataWebFormPart visible. I make no

What developer features excite you the most for WSS 4.0 / SharePoint 2010? [closed]

一个人想着一个人 提交于 2019-12-03 16:56:35
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . There's been a lot of developer frustration working with SharePoint but we all hope Microsoft has been listening. With that in mind...

Authenticating Office 365 SharePoint Online OOTB services

*爱你&永不变心* 提交于 2019-12-03 14:59:06
I want to consume SharePoint data into a non .Net platform. I already use the SharePoint OOTB services like Lists.asmx, Webs.asmx and search.asmx for this purpose. I have successfully added support for forms based authentication using Authentication.asmx. Now, I want to provide support for Office 365 SharePoint online. For that purpose I have a demo SharePoint Online site that I am working on. Problem, I am facing is when I use Mode method of Authentication.asmx I get ‘Forms’ in response: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001

What developer features excite you the most for WSS 4.0 / SharePoint 2010? [closed]

我的梦境 提交于 2019-12-03 05:58:41
There's been a lot of developer frustration working with SharePoint but we all hope Microsoft has been listening. With that in mind... What updated and new features for developers excite you about working with WSS 4.0 and SharePoint Server 2010? One answer per feature please so the community can vote on each one. Official LINQ support. Seriously, CAML is stupid , and replacing it with LINQ in most cases will be a blessing. The new Client Object Model (OM) , which will make it a lot easier writing SharePoint apps running on remote machines. It looks a lot easier than working with the current

How to get request digest value from provider hosted app?

半城伤御伤魂 提交于 2019-12-03 04:20:53
问题 I am developing SharePoint 2013 Provider hosted app using javascript REST Api. In order to perform create (POST), or update (MERGE) operations on sharepoint items I need to set the 'X-RequestDigest' header with the request. When in SharePoint-hosted apps I was able to use the http://contoso.sharepoint.com/SharePointHostedApp/_api/contextinfo service to retrieve the request digest value; however, I am having trouble getting that value when in a provider hosted app. The first difference of

How to get request digest value from provider hosted app?

安稳与你 提交于 2019-12-02 17:36:12
I am developing SharePoint 2013 Provider hosted app using javascript REST Api. In order to perform create (POST), or update (MERGE) operations on sharepoint items I need to set the 'X-RequestDigest' header with the request. When in SharePoint-hosted apps I was able to use the http://contoso.sharepoint.com/SharePointHostedApp/_api/contextinfo service to retrieve the request digest value; however, I am having trouble getting that value when in a provider hosted app. The first difference of provider hosted app is that now we need to make a cross-domain request since we are not running in a

Finding SharePoint list item by its display form's URL

无人久伴 提交于 2019-11-30 21:18:36
问题 Sometimes users require to change information in SharePoint list item that is not editable for them, for instance, a field that is hidden in edit form (in my case it was the records number). I decided to create a small Windows GUI application that the administrator would run on the server and make the requested change. However, the simplest scenario to get an instance of a SPListItem I found was: the admin enters the URL of the root site an SPSite ojbect is created, using the given URL:

Easiest way to extract SharePoint list data to a separate SQL Server table?

这一生的挚爱 提交于 2019-11-30 15:08:09
问题 Edited: What is the easiest way to scrape extract SharePoint list data to a separate SQL Server table? One condition: you're in a work environment where you don't control the SQL Server behind the SharePoint Server, so you can't just pull from the UserData table. Is there there any utilities that you can use to schedule a nightly extract? Is Microsoft planning any improvement here for "SharePoint 4"? Update Jan 06, 2009: http://connectionstrings.com/sharepoint For servers where office is not

Easiest way to extract SharePoint list data to a separate SQL Server table?

家住魔仙堡 提交于 2019-11-30 13:46:50
Edited: What is the easiest way to scrape extract SharePoint list data to a separate SQL Server table? One condition: you're in a work environment where you don't control the SQL Server behind the SharePoint Server, so you can't just pull from the UserData table. Is there there any utilities that you can use to schedule a nightly extract? Is Microsoft planning any improvement here for "SharePoint 4"? Update Jan 06, 2009: http://connectionstrings.com/sharepoint For servers where office is not installed you will need: this download As Ryan said I would also suggest using object model / web