Category Archives: SharePoint 2010

Tips for troubleshooting SSRS in your on-premise SharePoint installation

If SSRS breaks in your on-premise SharePoint installation, update the password in the following areas in Central Admin: 1. Central Admin > Execution Account > SSRS Service 2. Central Admin > System Settings > SSRS Service Things to check: Execution account plus the password Must be changed when passwords on the servers are updated Makes […]

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 […]