donderdag, juli 23, 2009

Sharepoint 2010 Upgrading & Customizing the new Sharepoint Ribbon

  • Upgrading from Win2003 & Moss to Win 2008 & Sharepoint 2010 (blogwriter has got a sharepoint 2010 beta!) check it out at http://blogs.technet.com/ritaylor/archive/2009/07/17/a-triple-double-upgrade-part-1.aspx
  • Slides about "Preparing for Upgrade to SharePoint 2010 Today" by Sharepoint Joel aka joeloleson, nice info about PreUpgradeCheck to run on old Sharepoint server to check for problems
  • SharePoint Products and Technologies: 2010 (Technical Preview) Developer Documentation about Customizing the Ribbon in Windows® SharePoint® Services "14" download it here

vrijdag, juli 17, 2009

Preparing for Sharepoint 2010: Importing your old sharepoint 2007 sites

A look info the future, don't be afraid, migrating your old 2007 sharepoint sites can be imported into the new Sharepoint 2010..... but what will happen when importing 2007 sharepoint export files (.cmp* files) into the new 2010?

When you upgrade Sharepoint 2007 to 2010, by default the layout will stay like it is in 2007, but this setting can be changed:
Go to Site Actions > Preview New Visuals, choose one of the 3 new options:

  1. Keep the previous Sharepoint user experience (default)
  2. Preview the new Sharepoint 2010 user experience, but let me return to the previous user experience
    => allows you to flip between the old and new experience and prevents you to do something that isn't compatible with the old version
  3. Use the Sharepoint 2010 user experience and don't ask me again
    => you can do things that are incompatible with older versions

* = SharePoint Content Management Package
Source : http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/IT-Pro-Video.aspx

Things to remember from previous posts:

  • Your servers (development, production, everything!) need to be 64bit!
    Sharepoint 2010 won't run on 32bits anymore (read more)

maandag, juli 13, 2009

Some more sharepoint 2010 News by Jopx

Jopx, a Sharepoint MVP for years and a former collega of mine, just posted some more info & links to sneak peek videos about Sharepoint 2010, check it out at SharePoint 2010 – Sneak preview videos – Overview Sneak peek video

vrijdag, juli 10, 2009

Sharepoint 2010 News

Todd Haugen (Group Program Manager SharePoint Designer at Microsoft) added some info about SP2010 "Developer's experience" on the LinkedIn group Sharepoint 2010:

  • Improvements both at the API level and inside VS2010
  • Documentation is much improved
  • Supporting LINQ so that developers will not have to access lists using the archane SharePoint API and rather use much more standard OO notation that is supported by intellisense.
  • We also improve support for Silverlight.
  • Plans with Azure are not clear

Where I can download the Sharepoint 2010 Beta?

  • Microsoft SharePoint 2010 beta will be "invitation-only" :-(
  • Maybe there will be a public beta "later in 2009" ...

How do I prepare my environments for Sharepoint 2010 ?

  • Deploy Service Pack 2 and take a good look at the SharePoint 2010 Upgrade Checker that’s shipped as part of the update. The Upgrade Checker will scan your SharePoint Server 2007 deployment for many issues that could affect a future upgrade to SharePoint 2010.

Sharepoint 2010 Requirements:

  • SharePoint Server 2010 will be 64-bit only. (We should also create 64 bit virtual environments?!)
  • SharePoint Server 2010 will require 64-bit Windows Server 2008 or 64-bit Windows Server 2008 R2.
  • SharePoint Server 2010 will require 64-bit SQL Server 2008 or 64-bit SQL Server 2005.
Sources & helpfull links:

excel file which contains a list of the built-in MOSS features

This is an interesting excel file which contains a list of the built-in MOSS features including GUID, Title, Scope...
Download it here :
http://blogs.msdn.com/jjameson/attachment/8370432.ashx

woensdag, april 29, 2009

woensdag, mei 21, 2008

Sharepoint 2007 limits overview

When setting up Sharepoint 2007 or creating custom stuff for Sharepoint, please take a look at this:
  • Detailed Sharepoint limits overview
  • Plan for software boundaries (detail overview of limitations, performance tips, ....)
    Also notice that there are also limitations for security principles:
    "Security principal: max 2,000 per Web site. The size of the access control list is limited to a few thousand security principals (users and groups in the Web site)."

zaterdag, maart 15, 2008

Seen on TechDays2008

Last week I went to TechDays 2008 at the ICC in Ghent. You can find an overview of the program/presentations over here .

I will give a quick overview of the most intresting topics. I will try to add some more info when there are new video's/presentations available.

LINQ

WCF/WF

  • Integrating WCF + WF :  by Ingo Rammer
  • The ABC of building services with WCF by Peter Himschoot
    => download presentations here
  • Intro blogspost about ABC of WCF  by Dennis van der Stelt

WPF

ASP.NET/WSS/MOSS

Other

* Tools

  • ZOOMIT: nice tool for zooming during presentations: download here

woensdag, december 12, 2007

dinsdag, oktober 02, 2007

Redirecting after using InfoPath Form (web-enabled) in Sharepoint 2007

  1. Use the Source query string: so the page will know where to navigate to after the form is closed or submitted (Watch Out: The URL must be in the same site collection or an error will be returned.)
  2. Add the OnClose event to the XmlFormView, add code to redirect after closing:
    Response.Redirect(http://www.dolmen.be);
    In the Infopath Form, you must add the Action: "Close this form: No Prompt" in the rules of the InfoPath Button, otherwise the OnClose event won't fire.

Source blogposts:

maandag, augustus 27, 2007

MCTS for .NET 2.0 Web applications (Exam 070-528)


Just like my colleague MaBal did, I passed the Microsoft.NET Framework 2.0 - Web-based Client Development (Exam 070-528) exam!

Now I can call myself: Microsoft Certified Technology Specialist for .NET framework 2.0 Web applications.

zondag, augustus 19, 2007

Query DataConnection in Infopath Web-enabled Form when selecting value of dropdownlost (with Managed Code)

You don't always need to load your dataconnection before the form is loaded (performance reasons), sometimes you want to load a different dataconnection when a certain value is selected. I use the example of a dropdownlist, and every value of the dropdownlist will load an other dataconnection into another dropdownlist.



Add the 2 dropdownlists, the second dropdownlist must have a connection with a datasource (I use an embedded Xml file dc.xml). When creating this dataconnection, please deselect the setting "Automatically retrieve dat when form is opened".




What you will need after you created the controls in infopath, open VSTA (alt+shift+F12). Add following code fragment into the InternalStartup method:

this.EventManager.XmlEvents["/my:myFields/my:Type"].Changed += new XmlChangedEventHandler(TypeChanged);

You also need to add the TypeChanged methods:

void TypeChanged(object sender,XmlEventArgs e)
{
string type = e.NewValue; //the selected value of the type dropdownlist

//I just added one dataconnection called dc (value when you select POST)
//You need to put here code (switch) for all the values in the type ddl
DataSource ds = this.DataSources[type];
DataConnection dc = ds.QueryConnection;

dc.Execute();
}


When you use the Execute method of a dataconnection, you must change following setting (it is like the ASP.NET AutoPostBack setting), otherwise your dataconnection will not be loaded!! (when you just changed a value of another field, you don't need to change this setting).




Change the standard option (postback settings): "Only when necessary for correct rendering of the form (recommended)" to "Always"


Remarks:
When you use Mananged Code in web-enabled form, uou must publish it as an administrator approved template (check out blogpost http://spsfactory.blogspot.com/2007/01/walkthrough-publishing-administrator.html )

maandag, augustus 13, 2007

Adding AppSettings to a Sharepoint Web Application Web.Config

I use this code to add key/values to the web.config during installation of features


(using Microsoft.SharePoint.Administration;)

string siteName = "http://moss";
SPSite site = .....;
SPWebApplication webApp = site.WebApplication;
System.Collections.ObjectModel.Collection allModifications= webApp.WebConfigModifications;

AddNewAppSetting(allModifications,"testkey1","testvalue1");
AddNewAppSetting(allModifications,"testkey2","testvalue2");

SPFarm.Local.Services.GetValue().ApplyWebConfigModifications();

------

private void AddNewAppSetting(System.Collections.ObjectModel.Collection allModifications,string name, string value)
{
SPWebConfigModification modification = new SPWebConfigModification(string.Format
("add[@key='{0}']", name), "/configuration/appSettings");

modification.Type =
SPWebConfigModification.SPWebConfigModificationType.EnsureChildNode;
modification.Value = string.Format(CultureInfo.InvariantCulture,string.Format
("",name,value) );

if (allModifications.Contains(modification))
{
allModifications.Remove(modification);
}

allModifications.Add(modification);

}


Sources: