Tuesday, June 28, 2011

New Features/Changes with SharePoint 2010 Service Pack 1

Microsoft have release one support document about the new features for SharePoint 2010 and the Service Pack 1.

Here are the links for the Service Pack 1 (updated)
Service Pack 1 for SharePoint Foundation 2010 (KB2460058)
Service Pack 1 for Microsoft SharePoint Server 2010 (KB2460045)
Service Pack 1 for Microsoft Office Web Apps 2010 (KB2460073)
Service Pack 1 for Microsoft SharePoint Designer 2010 (KB2460057) 32/64-bit Edition
Service Pack 1 for Microsoft SharePoint Foundation 2010 Language Pack
Service Pack 1 for Microsoft SharePoint Foundation 2010 Client Object Model Redistributable

Service Pack 1 (SP1) for Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 (white paper)

SharePoint 2010 SP1 and the June Cumulative Update for SharePoint 2010

If you are going to install the June 2011 CU please be aware of this link
"June 2011 CU for SharePoint 2010 has been re-released"

To help you view this document i copy the table with the most important features/Changes to help review and validate the script to manage you SharePoint sites after the Service Pack 1.



Plan browser support

· Plan browser support (SharePoint Server 2010) (http://go.microsoft.com/fwlink/?LinkID=221778)

· Plan browser Support (SharePoint Foundation 2010) (http://go.microsoft.com/fwlink/?LinkID=221779)

Windows PowerShell

· NEW: Get-SPDeletedSite (SharePoint Server 2010)

· NEW: Get-SPDeletedSite (SharePoint Foundation 2010)

· NEW: Remove-SPDeletedSite (SharePoint Server 2010)

· NEW: Remove-SPDeletedSite (SharePoint Foundation 2010)

· NEW: Restore-SPDeletedSite (SharePoint Server 2010)

· NEW: Restore-SPDeletedSite (SharePoint Foundation 2010)

· Move-SPSite (RBSProviderMapping parameter added) (SharePoint Server 2010)

· Move-SPSite (RBSProviderMapping parameter added) (SharePoint Foundation 2010)

Site management

· Restore a deleted site collection (SharePoint Server 2010)

· Restore a deleted site collection (SharePoint Foundation 2010)

· Restore a deleted site (SharePoint Server 2010)

· Restore a deleted site (SharePoint Foundation 2010)

Database management

· Overview of RBS (http://technet.microsoft.com/library/ee748649.aspx)

· Overview of RBS (http://technet.microsoft.com/library/ee748607.aspx)

· Plan for RBS (http://technet.microsoft.com/library/ff628583.aspx) (SharePoint Server 2010)

· Plan for RBS (http://technet.microsoft.com/library/ff628569.aspx) (SharePoint Foundation 2010)

· Install and configure RBS (SharePoint Server 2010) (http://technet.microsoft.com/library/ee748631.aspx)

· Install and configure RBS (SharePoint Foundation 2010) (SharePoint Foundation 2010)

· NEW: Remote BLOB storage in SharePoint Server 2010 (video) (http://technet.microsoft.com/library/hh286318.aspx) (SharePoint Server 2010)

Cascading Filters

· NEW: Configure cascading filters by using Dashboard Designer (SharePoint Server 2010 SP1) (http://technet.microsoft.com/library/hh272541.aspx)

Developer Content

· What’s new in the SDK for SharePoint Server 2010 (http://msdn.microsoft.com/library/ff847475.aspx)

· What’s new in the SDK for SharePoint Foundation 2010 (http://msdn.microsoft.com/library/ff847474.aspx)

Hope you like.
Kind regards,

Friday, June 03, 2011

Edit Document with Adobe “PDF” Files with https:// in SharePoint

Yep SharePoint can be a box of surprises…
This was the Problem,
I have one Farm with SharePoint 2010 installed and all the configurations to add the icon and customizations to open the Adobe Acrobat Document as Client Side, this Farm use the “http://” protocol and everything work fine and nobody complains, life run happy.
Then I have other Farm with the same configurations but the only difference is protocol to web application using “https://”, every time I try to edit the PDF File always return error…?!
image image
After this problem I tried to investigated about the configurations trying to identify what I did wrong using the “OpenControl” action in the Mapping to PDF files.
I also configure in the Central administration the General Settings of the Web Application to use the “Browser File Handling” to “permissive”  but this action will only open the PDF file in the Browser, the main question is open the “Adobe Acrobat” File as Client Side for edition, example: PDF Signatures
But nothing work….
image imageimage
After received this error I tried to understand what this Action associated in the popup menu “Edit in Edit Document” is doing, I used the Internet Explorer Developer Tool, this tool came with Internet Explorer and will help identify bad references JavaScript and CSS and made some change on real time of html properties, this can be fun if you want to make some security validations, I already found big security leaks in Sites just working with this tool.
The command action with parameter 0 ”in red”, will open the Adobe Document as Client Side but with error.
-> editDocumentWithProgID2('/Teste/Revista_PROGRAMAR_26.pdf', '', 'SharePoint.OpenDocuments', '0', 'http://[Site]', '0')
Then I try to change the command action with parameter 1 ”in red”, will Check-out the Document as draft in local computer and open in Adobe Acrobat as Client Side and Worked Smile.
-> editDocumentWithProgID2('{ItemUrl}', '', 'SharePoint.OpenDocuments', '1', '{SiteUrl}', '0');return false;
This site will help you configure the Custom action using some URL Tokens to configure the URL Action
How to: Add Actions to the User Interface
Create a new Feature for the new custom action to Edit Document 


After create the Feature associate one element.xml file, this file are defined the Custom Actions associated to our SharePoint site.


After deploy the solution I access to Document Library and the new option “Edit Document” appear.

imageThen I select new option “Edit Document” asking to Check out the PDF File and open as Client Side, done…Smile


If you access again to the Document Library the Document is Check Out, assume the changes made in Adobe Acrobat file, you will need to check in to shared with users.

imageCustom Edit Document Solution Link
Hope you likeSmile

One interesting update about this subject and how you can create your custom opencontrol:
Using custom OpenDocuments control to open custom file types in SharePoint

“My Sites” Links without “Tag and Notes” option

Some time ago have one request from a client about the option the social features.

PS: to correct this issue please update your SharePoint Server with Service Pack and everything should work fine.

This client had special configurations on the SharePoint and didn’t wanted to activate the “Tags and Notes” option to don’t confuse the final Users, but want to use the “My Site” Links since they are using in all Farms.

The easy way to manage is using SharePoint Central Administration and manage the user permission,

There you add the user or AD Group you want to manage and select the features associate to Social features you want to manage. "Create Personal Site" for My Site and "Use Social Features" for Tags and Notes.

After you accept this options you can access the SharePoint Site and see the final result.

 The tags and note will appear disable in some areas but we cannot do anything.

The second thought I have was turn off the “Tags and Note Board Feature Ribbon Controls” to disable all options and images associated with tags and  notes.
When we access to SharePoint Central Administration and Manage the “Farm Features” the Feature “Social Tags and Note Board Feature Ribbon Controls” is activated and when we access to a SharePoint Site the social features will appear.
When I turned off this Feature the “My Site” and “My Profile” also disappear, after found this issue start to research how the Social Feature is configured.
This feature is located in the Hive Folder where SharePoint 2010 is install with the name SocialRibbonControl “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\SocialRibbonControl”
This Feature have 2 different files, one is to configure the “Tag and Notes” Ribbon and the configure the new actions for Social Features.
After some research on the content of the Files I started to create a new feature to response the new requisites.
To manage the “My Sites” links I created a custom Feature where the action is associated, for this feature I added the Scope “Farm” and will be active for all SharePoint Sites.
To support the Activation of “My Sites” Links I add to the feature the following configuration action in the Feature support File. This action will add the “My Site” and “My profile” links without appear the “Tags and Notes” option.
To activate only this actions recommend deactivate the “Social Tags and Note Board Feature Ribbon Controls” and activate the new feature “My Site Links without Tag and Notes”.
After this change you can access to your SharePoint Sites and validate if appear the “My Site” and “My profile” Link without “Tags and Notes”…
(No option for “Tags and Notes” only the “My Site” Link)

The MySiteLinks.wsp Solution Link
Hope you like,Smile