Archive for April, 2012
SharePoint 2010 Tips – 2
Tip – Enabling Developer DashBoard Developer dash board can be enabled with the following single stsadm command
April 30, 2012
·
Adi ·
2 Comments
Tags: Tip - Enabling Developer DashBoard · Posted in: Debugging and Testing, Sharepoint 2010, Tips and Tricks
SharePoint 2010 Tips – 1
Tip – Hiding Quick Launch To hide quick launch (left navigation) of SharePoint site, simple css is sufficient
April 29, 2012
·
Adi ·
No Comments
Tags: SharePoint 2010 Tips and Tricks · Posted in: Sharepoint 2010, Tips and Tricks
SharePoint 2010 List Throtelling
Introduction List throtelling is the behaviour which allows to configure SharePoint list to prevent any operation from returning too many results at any time. In SharePoint 2010 one of the improvements is list throttling. In this article we will see what are the various options we have to avoid list throtelling exceptions.
April 29, 2012
·
Adi ·
No Comments
Tags: ContentIterator, List Throtelling, SharePoint 2010, SPList.EnableThrottling, SPQuery.QueryThrottleMode · Posted in: Lists, Sharepoint 2010
SharePoint Tools with Visual Studio 2011 Beta
VisualStudio 2011 beta introduces new set of features and enhancements for SharePoint. In this article we will see what are tools for SharePoint at high level.
April 29, 2012
·
Adi ·
No Comments
Tags: SharePoint tool in Visual Studio 2011 Beta, Visual Studio 2011, Visual Studio 2011 Beta · Posted in: Sharepoint 2010, Visual Studio 2011
Config file for Powershell script in SharePoint 2010
Introduction In this article we will see how we can set a config file for a powershell script. While running script file, rather than setting the global variable values directly in the script; it’s always advisable and best practice to have a config file. So, we will only change the config file based on the […]
April 28, 2012
·
Adi ·
No Comments
Tags: Config file, PowerShell 2.0, Read xml file, SharePoint 2010 · Posted in: Packaging and Deployment, Powershell, Sharepoint 2010
SharePoint 2010 dev environment on Windows 7 HomePremium
Introduction Before I installed SharePoint 2010 on my laptop with Windows 7 HomePremium, I searched a lot. But finally I got some good link with which I have completed my installation successfully and enjoying my development environment. http://msdn.microsoft.com/en-us/library/ee554869.aspx Check the link and watch the comments where you will see resolution for most of the errors […]
April 28, 2012
·
Adi ·
No Comments
Tags: SharePoint 2010 installation · Posted in: General
Logging in Powershell in SharePoint 2010
Introduction The most common and mandatory thing while coding is logging the results or logging the errors. The log file will give overview of what happened or check if anything went wrong. In this post I will provide you a generic function how to log information while working with the script
April 28, 2012
·
Adi ·
No Comments
Tags: PowerShell 2.0, Powershell Logging, SharePoint 2010 · Posted in: Logging, Packaging and Deployment, Powershell, Sharepoint 2010
Modifying web.config with Powershell
Introduction In this post we will see how we can Add / Delete a node to web.config with PowerShell in SharePoint 2010. Most of times we consider web.config as nothing but a common xml files. But, changes that are done to a node and who is the owner of a particular node in web.config will […]
April 27, 2012
·
Adi ·
No Comments
Tags: Disable default mobile behaviour, Modify web.config, PowerShell 2.0, SharePoint 2010 · Posted in: Powershell, Sharepoint 2010
Debugging and Testing in SharePoint 2010
Introduction If we are developing any applications in SharePoint the first point after the start of development that comes into mind is How can we debugg or test the application How can we get the detailed error I am covering most of the avialable ways and tools to answer the debugging and testing questions.
April 25, 2012
·
Adi ·
No Comments
Tags: Debugging, Debugging tools, Detailed error, SharePoint 2010, Testing · Posted in: Debugging and Testing, Sharepoint 2010
Copy or Replace list items in PowerShell
Introduction Based on the request from one of the audience of adicodes, I am providing one post which copies items from one list to another. If the destination list already has the item of the source list, the following code will update the item. If the item does not exist it will create a new […]
April 24, 2012
·
Adi ·
22 Comments
Tags: Client Object Model in SharePoint 2010, PowerShell 2.0, SharePoint 2010 · Posted in: Packaging and Deployment, Powershell, Sharepoint 2010