It took me some time to find the solution to a problem, where a WPF application could not connect to a local SharePoint farm via SPFarm.Local. It always returned null.
Windows 7 was not the problem. I copied my application to a Windows Server 2008 VM to test.
In case somebody has the same problem, here is the solution:
Make sure you have set the Platform to “Any CPU” and not x86 if you are using x64 assemblies.
Merry Christmas to all of you!
The SDK says: “An SPView object that represents the default view.”
But if you want to change e.g. the ViewFields from the default view, you cannot use SPList.DefaultView.ViewFields.Add(fieldname);
Instead use
SPView defaultView = list.Views[list.DefaultView.ID]; defaultView.ViewFields.Add(fieldname); // internal field name defaultView.Update(); to modify the default view. It seems the DefaultView property cannot modify the View itself.
Microsoft has released Language Packs for SP 2010. Thank you. Now I can try to upgrade existing Installations 🙂
But wait. The Languages Packs won’t install on my Windows 7. It says they need a Windows Server 2008 x64. Right. But it’s the same with the Server itself. We have to modify the config file, to support an installation on a non Server OS.
Setting Up the Development Environment for SharePoint Server: http://msdn.
Roger Lamb has posted an article about SharePoint objects, which must not be disposed. He also wrote about changes to SP 2010 regarding disposing objects.
SPContext.Current.Site SPContext.Current.Web SPContext.Site SPContext.Web SPControl.GetContextWeb(..) SPControl.GetContextSite(..) SPFeatureReceiverProperties.Feature.Parent SPItemEventProperties.ListItem.Web SPList.BreakRoleInheritance() Do not call list.ParentWeb.Dispose() SPListEventProperties.Web SPListEventProperties.List.Web SPSite.RootWeb Problems may occur when SPContext.Web has equality to the SPContext.Web.. make sure you dispose of SPSite and it will cleanup sub webs automatically SPSite.LockIssue SPSite.Owner SPSite.SecondaryContact SPWeb.ParentWeb SPWebEventProperties.Web More on his blog: http://blogs.
I guess everybody knows by now. But if not: The beta 2 of Visual Studio 2010 brings SharePoint Development tools as an option.
After all the Videos and Screencasts about SP 2010 development, I wanted to try it myself. So I installed VS 2010 on my notebook.
An SQL Server 2008 has already been installed. I’ll skip that part as well.
So here we go…
Oh. Did I say thank you to you MS guys for supporting SP 2010 on Windows 7?
Here is some more news for you:
Public Beta available
SharePoint Foundation 2010 (Windows SharePoint Services 2010 Beta) Microsoft SharePoint Server Enterprise 2010 Beta SharePoint Designer 2010 Beta (x64) More on the SharePoint Team Blog Installation Notice for SharePoint 2010 Public Beta
Installation Notes for Microsoft SharePoint Server and Microsoft SharePoint Foundation 2010 Beta (with links to additional requirements like Microsoft “Geneva” Framework Runtime…)
Upgrade Support for Prerelease Versions to Release Versions of Microsoft SharePoint Server and Microsoft SharePoint Foundation 2010
Auch im nächsten Jahr ist die SharePoint Konferenz wieder in München. Und zwar am 24.-25. Februar 2010.
Mit einer Session zum Thema “BCS und SharePoint auf dem Client” bin auch ich wieder mit dabei.
Der Business Data Catalog heisst jetzt Business Connectivity Service. Daten können nun nicht nur von anderen Datenquellen gelesen, sondern auch zurück geschrieben werden. SharePoint auf dem Client? Aber nicht mit Webservices, sondern mit einem kompletten Objektmodell.
Yes! The beta is available via MSDN 🙂
What beta? –> http://msdn.microsoft.com/en-us/subscriptions/subscription-downloads.rss
Office Search Server Express 2010 Beta (x64) – (English) Office SharePoint Server 2010 Beta (x64) – (English) Office SharePoint Foundation Server 2010 Beta (x64) – (English) Office Web Applications 2010 Beta (x64) – (English) FAST Search Server SharePoint 2010 Beta (x64) – (English) Office SharePoint Designer 2010 Beta (x86 and x64) – (English) and Office Client Applications
Take a look.
To get more “content” of this type, go to [http://www.sharepointcomic.com/archive/tags/SharePoint%20Comic/default.aspx][1]
btw: Dan is using the CKS:EBE for his blog with a great theme. Well done!
[1]: http://www.sharepointcomic.com/archive/tags/SharePoint Comic/default.aspx “ http://www.sharepointcomic.com/archive/tags/SharePoint%20Comic/default.aspx"