Archive for April, 2012

List Cascade and Restrict delete

Introduction SharePoint 2010 has introduced enforcing relationship behaviour on the list. We will see in this post what are the two behaviours that come up with the list Consider the scenario that we have two custom lists; Category list and Product list. Category list is the master(parent) list.Product(child) list has a lookup column which refers […]

April 23, 2012 · Adi · One Comment
Tags: , , ,  · Posted in: Lists, Sharepoint 2010, Validations

Powershell conditional and looping statements

Introduction The following examples will provide how to use the conditional statements(if, elseif, else, switch) and looping statements(for, while, do/while, foreach, foreach-object, where-object). Though these are very common techniques used in any programming language, the syntax is what matters here. Examples in this post gives understanding of the usage and syntax.

April 22, 2012 · Adi · No Comments
Tags: , , ,  · Posted in: Conditional Statements, Operators, Powershell, Sharepoint 2010

Sharepoint 2010 Data technologies

Introduction Eventually we can split SharePoint into two simplest layers, one data layer and another UI layer which displays the data. We will have an overview of what are the technologies, we have with SharePoint 2010 to display data from the data layer.OfCourse, data layer of SharePoint is nothing but the SqlDatabase. But, remember its […]

April 22, 2012 · Adi · 2 Comments
Tags: , , , ,  · Posted in: Client Object Model, LINQ, REST Interface, Sharepoint 2010

PowerShell in Sharepoint 2010 – Basics Part 3

Introduction We learned how to use variables, arrays and hashtables in Powershell basics part 1. We learned how to use arithmetic, assignment and comparison operators in Powershell basics part 2. Now we will check how we can use logical operators and redirection operators

April 20, 2012 · Adi · No Comments
Tags: , , , , ,  · Posted in: Operators, Packaging and Deployment, Powershell, Sharepoint 2010

Column validations and List validations in SharePoint 2010

Introduction List validation and column validation is one of the notable feature of SharePoint 2010. We will see how we can set validation to a list and to a column with formulas without using SharePoint designer Taking an example of an EmployeeEntry list where employees will enter their data in the list; we will see […]

April 19, 2012 · Adi · 58 Comments
Tags: , , ,  · Posted in: Sharepoint 2010, Validations

SharePoint 2010 TEMPLATE directory

Introduction TEMPLATE folder is one of the most important file folder of SharePoint where the templates, pages, masterpages will reside. We will check the breakdown structure of directory and what each folder is meant for in SharePoint.Understanding this folder structure is important to get clear picture on, how and where SharePoint will house our deployed […]

April 18, 2012 · Adi · No Comments
Tags: , , ,  · Posted in: Sharepoint 2010, Sharepoint Deployment

PowerShell in Sharepoint 2010 – Basics Part 2

Introduction We learned how to use variable, arrays and hashtables in Powershell basics part 1. We will check how we can use arithmetic operators, assignment operators and comparision operators in powershell

April 16, 2012 · Adi · No Comments
Tags: , , , , , , , ,  · Posted in: Packaging and Deployment, Powershell, Sharepoint 2010

Update, Delete & Copy list items with powershell in sharepoint 2010

Introduction This post will cover the list utilities such as how to update, delete and copy list items with powershell. With the generic code, now the handling list should be easy in powershell.

April 13, 2012 · Adi · 11 Comments
Tags: , , , , , , , ,  · Posted in: CAML, Packaging and Deployment, Powershell, Sharepoint 2010

Add items to fields with powershell in sharepoint 2010

Introduction Moving further from “Creating lists”,  “Creating fields to List Part1” and “Creating fields to List Part2” with powershell; this post will cover how to implement SharePoint 2010 list utilities with powershell. We will learn how we can Add list items to various fields (columns)

April 12, 2012 · Adi · 4 Comments
Tags: , , , , , , , , ,  · Posted in: Packaging and Deployment, Powershell, Sharepoint 2010

PowerShell in Sharepoint 2010 – Basics Part 1

Introduction In PowerShell basic series part 1, we can learn how to work with variables, arrays and hashtables. The basic series is very important to understand the complex codes of powershell. This series will be worth reference guide as most of powershell developers are not aware of the syntax and usage.

April 12, 2012 · Adi · No Comments
Tags: , , , , ,  · Posted in: Packaging and Deployment, Powershell, Sharepoint 2010