Blog Archive

SharePoint-courses
José Quinto Zamora

MoveTo and List Data Validation in SharePoint 2010 (ValidationFormula)

2011-05-16 11:51:00 by José Quinto Zamora

If you have in your SharePoint 2010 list (or library) a Column Validation:

image

 

And, also you need Event Receiver that moves a document between folders (in the same library). If you use Microsoft.SharePoint.SPFile.MoveTo to move or...

Guillermo Bas

How to customize a Content Query Web Part: True, False, XSLT and SharePoint 2010 multi-language support

2011-05-10 18:30:00 by Guillermo Bas

I’ve been customizing some XSLT from the ItemStyle.xsl file for the SolidQ Summit SharePoint site. Well, to be fair my colleague José Quinto (@jquintozamora) did it the last year, and I’m applying some modifications requested for this year’s event.

I...

Guillermo Bas

Highlighted sessions at MIX11 Las Vegas

2011-04-27 19:23:00 by Guillermo Bas

The Channel 9 has uploaded almost every session from the MIX11 (April 12-14 Las Vegas).

I’ve been reviewing the whole list and I want to share with you my preferred sessions:

- Sessions with JavaScript (In some way):

o Facebook and .NET

o Pragmatic JavaScript, jQuery & AJAX with .NET

o...

José Quinto Zamora

XSLT and SharePoint 2010. Obtaining all visible list fields in Content Query WebPart or XSLTListViewWebPart

2011-04-19 21:45:00 by José Quinto Zamora

When we are editing XSLT for Content Query Web Part, XSLTListViewWebPart or any other WebPart with configurable XSLT, you can obtain all list fields and their values with following code:

 

 

Note: Notice that @ is the beginning char of any list field.

 

Regards!

Guillermo Bas

Avoiding redirect exception in SharePoint 2010

2011-04-14 22:48:00 by Guillermo Bas

Here we go again with a short (but very useful) post. As part as the good performance practices when we are coding we have to avoid exceptions, there is a usual exception in our SharePoint code, the redirect exception.

When we use Response.Redirect from...

Cristian M. Zaragoza Gómez

How to embed ASP.NET– SharePoint Customized Controls in XSLT files

2011-03-21 09:42:00 by Cristian M. Zaragoza Gómez

This week I have been working on the creation of a custom control of ASP.NET, its main function is to generate the popular "social buttons" of some social networks (Facebook, Twitter and LinkedIn until now), which allows sharing amongst those...

Guillermo Bas

Great SharePoint 2010 article in the SolidQ Journal Best Practices with RBS and PowerShell

2011-03-04 12:20:00 by Guillermo Bas

Our colleage Gilberto Zampatti has published an excellent article in the SolidQ Journal February Issue you can read the preview of the article in the link below:

SharePoint Best Practices: PowerShell support for RBS

Remember that you can register here...

José Quinto Zamora

How to Check if Current User Roles or Permissions are higher or equal than other RoleDefinition (SharePoint 2010)

2011-02-25 08:56:00 by José Quinto Zamora

Hi,

In SharePoint we have five OOB roles or permissions levels: Limited Access, Read, Contribute, Design and Full Control. If we want to check if current user have one permission level or higher, we can use this function:

 

 

We can invoke this...

José Quinto Zamora

Embedding resources in Visual Studio 2010, neutral culture problem

2011-02-24 16:09:00 by José Quinto Zamora

Many times, we need to add some embed resources to our Visual Studio 2010 project.

In Visual Studio 2008 we only will drag and drop our file to Resources project and then make reference to My.Resources.<ResourceName>. But in VS 2010 when we do...

José Quinto Zamora

Filtered Lookup Columns for Cascading Dropdowns in SharePoint 2010 using JavaScript Client Object Model

2011-02-17 12:56:00 by José Quinto Zamora

Hi,

First of all, What is Cascading dropdown?

For instance, when you have two columns in a SharePoint list, Client and Project. Both are lookup columns and are related. When you add or edit one list item if you choose a client in the Clients...

José Quinto Zamora

How to hide list or site columns from New or Edit forms with PowerShell in SharePoint 2010

2011-02-14 19:26:00 by José Quinto Zamora

Hi,

In this post, we will use PowerShell cmd that SharePoint 2010 offers to hide a column from New and Edit forms.

http://<mySite>

With above code, we will disable “Name” column in document library, then users can’t change name of documents.

 

More...

Guillermo Bas

How to add/delete an event receiver to a single list with PowerShell in SharePoint 2010

2011-02-08 20:41:00 by Guillermo Bas

In SharePoint 2010 the Event Receivers has been improved so much. But there is still a big issue on the default functionality when we want to attach/register an event receiver to a single list. By default when we create an event receiver project Visual...

José Quinto Zamora

How to activate or enable Hidden Features in SharePoint 2010 through PowerShell

2011-01-31 16:38:00 by José Quinto Zamora

Hi, some times we need to activate hidden features. An easy way to do it is through PowerShell.

 

1. Open SharePoint 2010 Management Shell (Run as Administrator)

 

 

2. Knows GUID of the hidden feature, for that you can use PowerShell.

     Example:

...
José Quinto Zamora

Search Engine Optimization (SEO) and SharePoint 2010 tips, improving our ranking relevance.

2011-01-19 16:19:00 by José Quinto Zamora

In this post I give us 8 tips in order to improve your ranking in Search Engines:

 

1. URLs

a. We need to use friendly URL.

b. If our page is developed based some redirection in cookie, please understand that Search Robots don’t let cookies.

c....

Guillermo Bas

How to delete the Drop Off Library

2011-01-04 20:26:00 by Guillermo Bas

Sometimes we activate by mistake the feature that creates the Drop Off Library. In this case this library could become a problem because It sets some restrictions. We can’t delete this library manually as any other library, and if we deactivate the feature...

Follow us on: