Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

Raúl Ribeiro

Windows SharePoint Services 3.0 , .net, Microsoft Office SharePoint 2007, Office 2007 and 2010


Silverlight 5 Available for Download Today


New features in Silverlight 5 include Hardware Decode of H.264 media, which provides a significant performance improvement with decoding of unprotected content using the GPU; Postscript Vector Printing to improve output quality and file size; and an improved graphics stack with 3D support that uses the XNA API on the Windows platform to gain low-level access to the GPU for drawing vertex shaders and low-level 3D primitives.

In addition, Silverlight 5 extends the ‘Trusted Application’ model to the browser for the first time. These features, when enabled via a group policy registry key and an application certificate, mean users won’t need to leave the browser to perform complex tasks such as multiple window support, full trust support in browser including COM and file system access, in browser HTML hosting within Silverlight, and P/Invoke support for existing native code to be run directly from Silverlight. 

Service Pack 1 for Microsoft SharePoint Server 2010 and SharePoint Foundation 2010

Service Pack 1 for Microsoft SharePoint Server 2010 and SharePoint Foundation 2010 has been release, here is the list of links to download the SP1 and the language packs:

You shoud also deploy the June 2011 CU Update - http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2536599&kbln=en-us

And also the Server Pack 1 for Office 2010

European SharePoint Conference 2011

I’m pleased to announce that I will present with my collegue André Vala three sessions in the European SharePoint Conference 2011, which will take place in Berlin, 17th – 20th October 2011.

The three sessions are:

W18 - Using BCS to Integrate Azure Services with SharePoint 2010

W26 - Federated Authentication in SharePoint 2010

Th28 - SharePoint + Azure = Better Together

Browser File Handling avoiding Permissive mode
A change in behavior from SharePoint 2007 to SharePoint 2010 is that only file types marked as "safe" are allowed to be opened in the browser or opened on a download request (instead of just saved to disk).

To work around this is to set the Browser File Handling policy to Permissive, from Strict, on the Web Application. 

This has a negative impact on security as clients may open harmful content from SharePoint without being prompted to do so.

The preferred way of handling this is to leave the Browser File Handling on the Strict mode, then from the SharePoint Command Shell, run:

   1: $webApp = Get-SPWebApplication("http://webAppUrl")
   2: $webApp.AllowedInlineDownloadMimeTypes.Add("application/pdf")
   3: $webApp.Update()

This example is to add the MIME type for PDF to be allowed to open within the browser window.

Highlights from Microsoft’s CES 2011 Keynote

Windows Phone 7 edition

Steve also gave us the latest WP 7 stats:

There are currently around 5,500 apps available on the Marketplace
100 new apps added every 24 hours
22,000 registered developers
Most customers are downloading a new app every day
9/10 Windows Phone 7 customers on AT&T would recommend it to a friend

The update that will automatically be pushed to customers soon and will bring Copy/Paste support, CDMA support, bug fixes, and “significant” performance improvements when opening and switching apps.

Games coming soon/available on Windows Phone:

Rise of Glory
Full House Poker
Fable Coin Golf
Halo Waypoint
Fruit Ninja
DeBlob Revolution
Parachute Panic
Game room: Centipede
Game room: Shao Lin’s Road
Game room: Asteroids Deluxe
Assassin’s Creed
Pocket God
Zombie Attack! 2
PES 2011 (Pro Evolution Soccer)
The Sims 3
Need for Speed Undercover
Star Wars: Cantina

XBOX 360

They’ve sold a huge amount of Kinect — 8 million, far more than the 5 million they predicted.

Surface v2.0

Size: Gone is the gigantic, 500 pound box of death. The wall-mounted surface that Microsoft demonstrated on today was about the thickness of a mid-range LCD TV.

Clunkiness: Surface v2 uses something called “Pixel Sense”, which Microsoft says “uses every pixel as a camera”.

SharePoint 2010 Search Error


When receive an error using SharePoint 2010 Search and in the log files the error message is “The property RequestedLanguage cant not set to NULL” this means that the browser that you are using (IE, Chrome, Safari, etc) does not have Default Language. You have to choose one a set has default.

Real World Branding with SharePoint 2010 Publishing Sites [MSDN]

MSDN made public the Real World Branding with SharePoint 2010 Publishing Sites (this article was provided by two SharePoint MVP's Andrew Connell and Randy Drisgill).

 You can get the code from MSDN Code Gallery here  and read the article on MSDN Library here.

This article walks designers through the process of creating a custom brand in SharePoint Publishing sites as well as helping developers take the design and implementing it as a custom brand using Features and Solutions.

When you are ready to create a great design for a SharePoint site, you first need to take time to plan the site well. Use a planning phase to gather design requirements for site elements such as master pages and page layouts. By properly understanding what the business objectives are before starting to code, you can avoid difficult and time-consuming rewrites later in the project lifecycle.

Raúl Ribeiro is Microsoft Certified Professional Developer SharePoint 2010
Microsoft Certified Professional DeveloperLast May I’ve taken the beta versions of the two SharePoint 2010 Developer exams: 70-573 TS: Microsoft SharePoint 2010, Application Development and 70-576 PRO: Designing and Developing Microsoft SharePoint 2010 Applications. Last week I received two e-mails saying that I successfully passed both exams and another e-mail saying that i received the Microsoft Certified Professional Developer SharePoint 2010 status.
Opening HTML Files in Sharepoint 2010

By default, Sharepoint 2010 is blocking the ability to open HTML files directly from a document library. 

This can be changed in the browser file handling option. To change this option go to:

1. Central Admin\Application Management\Manage Web Applications.
2. Select General Settings for the specified web application
3. For Browser file handling, select permissive. The default is strict​


New SharePoint 2010 Content Query WebPart (CQWP)

The SharePoint 2010 Content Query WebPart have this new feature the Content to Content concept.

Content to Content introduces two tokens that can be used in the Content Query Web Part filters:

  • The PageQueryString token allows you to include in the query a valuefrom a query string parameter.
    • You have use the token [PageQueryString:PARAMETERNAME] in the CQWP filters and the CQWP will replace this token with the value of the specified query parameter. (The value of the PageQueryString property must be the exact name of the URL parameter)
  • The PageFieldValue token gives you thepossibility to filter the query results using a value of another field on thesame page.
    • You have use the token [PageFieldValue:FIELDNAME] in the CQWP filters and the CQWP will replace this token with the value of the specified field.

This makes it extremely easy to provide functionality such as related content.

Another interesting new feature is the possibility to add new Fields To Display just by adding the to the XSL used in the CQWP, see this post on Liam Cleary blog.

Mix 2010 Day 2 Keynote

Here is summary of this session:

  • IE9
    • IE9 is optimized for HTML 5
    • It passes all http://www.css3.info/ script tests and scores 55 in http://acid3.acidtests.org/ test
    • It uses more GPU power using Windows 7 Graphics Capabilities
    • New Developer Toolbar for HTML 5 standards (we can change SVG graphics in real time like css)
    • HTML 5 Video (podemos testar no youtube http://www.youtube.com/html5) you need to use the IE9 preview
    • We can use opacity, also in videos, rounded corners using border radius
    • New Javascript Engine
    • Preview Version (download and demos): http://ie.microsoft.com/testdrive/ it will be updated from 8 to 8 weeks (more or less)
  • Visual Studio 2010 & .Net 4.0 (RTM launch in April)
    • Multi-monitor support with one single instance (html in one monitor, .cs in another)
    • Better intellisense
    • Better code visualization
    • Better profiling and debugging
    • ASP.net controls with clean html using css
    • Smaller View State
    • Semantic URL out of the box
    • New for Controls (chart, data…)
    • New ASP.NET MVC 2 (built in with VS 2010)
    • Sequence Diagram for a method
    • New JQuery Plugins (template, data binding)
    • Better Ajax Development with intellisense with quicker response for javascript libraries
    • New .config for each stage (development, staging, production) with more simple deployment
    • Box select (select text from different lines that start and end on the same position and change the text)
  • OData Protocol http://www.odata.org/  
    • http://odata.netflix.com/Catalog (real example of a Windows Azure site running a WCF Data Service with SQL Azure) it’s case sensitive, example http://odata.netflix.com/Catalog/CatalogTitles
    • SharePoint 2010 has OData protocol for lists
    • In Visual Studio 2010 this is a WCF Data Services (aka Astoria)
    • Houston project will allow to create and manage database’s in SQL Azure using the browser and Silverlight on Azure Portal
    • New project that will allow us to create WCF Data Services from a SQL Azure table in the browser on Azure Portal
    • Excel 2010 PowerPivot can get data from OData Services
    • Microsoft Codename Dallas (http://pinpoint.microsoft.com/en-US/Dallas)
      • Find, purchase and manage datasets to power your applications
      • The client can create datasets with the columns necessary for is application
SharePoint 2010 & Office 2010 Launch Date

It's official May 12th, 2010, is the launch date for SharePoint 2010 & Office 2010.

In addition, Microsoft announced the intent to RTM (Release to Manufacturing) this April 2010.

This is great news, you can virtually join the launch event in May 12th at 11am EST to listen to Stephen Elop, President of the Microsoft Business Division, announce the launch.

You can register for the event @ http://sharepoint.microsoft.com/businessproductivity/proof/pages/2010-launch-events.aspx.

SharePoint 2010 Tips for Performance

Here is some tips that I've been gathering for using SharePoint 2010 Virtual Machines:

External USB 2.0 are too slow, you shoud use e-Sata, with 7200 RPM, or SSD

The VM virtual discs shoud have a unique file with fixed size, when you create VM virtual discs you shoud format it with 64KB in NTFS

The SQL Server tempDB shoud have two data files, if possible each on different discs, with a start size of 500~1GB and with 256MB for incremental growth


All SharePoint databases shoud have a start size of 500~1GB and an incremental growth of 100MB or higher

If you are using Sql Server 2008 Enterprise on your virtual machines please enable the Lock Pages in Memory option, see here how to do this, if you are using the Standard Edition you have to install SP1 and SP1 CU2 to use this option.

Right now i'm not using Virtual Machines i have SharePoint installed in my Windows 7 host, but this tips should also be applied in this scenario, keep in mind this is just a standalone environment for developers, it's not meant for production at all.

If you want to install SharePoint 2010 on Windows 7 here is a link to Harbar Tips and tricks for running SharePoint Server 2010 on Windows 7 and also on msdn Setting Up the Development Environment for SharePoint Server.


Update for SharePoint 2010 Beta 2 (Profile Synchronization Service Error)


When you installing SharePoint 2010 Beta 2 and run the Config Wizard, you will get the following error:

An exception of type Microsoft.Office.Server.UserProfiles.UserProfileException was thrown.  Additional exception information: Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56)

The following hotfix solves this problem :)

Title  KB976462
Release Date  11/18/2009
Size  10.91 MB
Version  Hotfix
Category  Build
Description  FIX FOR: WCF: Sharepoint Shared Services Roll-up


After installing the hotfix, restart the server, then go to SharePoint Central Administration -> Services in Server Page (http://URL/_admin/Server.aspx) and start the User Profile Synchronization Service.

SharePoint 2010 SMS Service Part 2

Before the SMS Service is configured in SharePoint Central Administration (see previous post) if you open an "Alert me" window you won't have the Text Message (SMS) option enabled.

Alert Windows without SMS

After the SMS Service is configured the option becomes enabled

Alert Windows with SMS

You should be careful when choosing the Text Message (SMS) option because the only "When to Send Alerts" option is the Send notification immediately, so if you use this for all lists and for all changes you probably will have a very expensive SMS Service bill :).

More Posts Next page »