Category Archives: SharePoint 2010

Good references for Update-SPSolution

These two references are excellent sources of information regarding the PowerShell commandlet Update-SPSolution for SharePoint 2010 and SharePoint 2013: SharePoint 2010 Web Parts in Action by Wictor Wilen Chapter 7 Microsoft SharePoint 2010 Developer Reference by Paolo Pialorsi Chapter 8

Great formulas

You can use the following formulas in SharePoint site columns. You can place any of the following formulas into a calculated site column. AcknowledgeDate1 = End date Created = Start date

Tips for creating a custom Web template in SharePoint 2010

1. When compiling the project, if you run into a conflict with features during deployment in Visual Studio while developing the Web template, consider moving different elements, such as lists, site columns, and so forth to different features. Don’t try to put all the elements of the Web template solution in one feature. 2. In […]

Can’t get JavaScript files to run in SharePoint?

Having trouble getting JavaScript files to run in your SharePoint site? Make sure you set the¬†LoadAfterUI=”true” attribute in your ScriptLink tag. Here is an example: <SharePoint:ScriptLink ID=”MyBaseID” Name=”~Site/_catalogs/masterpage/MyPathtoJavascriptFile/mycustomjavascriptfile.js” runat=”server” OnDemand=”false” LoadAfterUI=”true” Localizable=”false”/>

When to use Business Connectivity Services and when to use ADO.Net …

Use Business Connectivity Services (BCS) when you want to: 1. Provide a no-code solution 2. Create several Web Parts that would all use the same ADO to connect to the SQL database. 3. Re-use code even if someone renames the SQL server, moves the database, or renames a table or column. 4. Maintain one connection […]

SharePoint workflow best practices

Workflow best practices for Workflow designers should document the workflow against the business process that the workflow supports. Workflow designers should be prepared to educate workflow participants on how to use the workflow and any custom security settings. Some processes are better implemented manually√Ę for a period of time before you automate the process. This […]