SlideShare une entreprise Scribd logo
1  sur  51
SharePoint 2010 List of List Improvements  SharePointPro.SG  K. Mohamed Faizal Lead Consultant  NCS (P) Ltd. 11th Feb 2010 http://faizal-comeacross.blogspot.com/ kmdfaizal@yahoo.com
Agenda Lookups and relationships Form web part List & Column Validation Unique values Inline editing Ratings Info path form editing Large lists with list throttling If time permits I will share how to install Windows 7 on VHD boot and Install SharePoint 2010 issues and solutions.
List improvement I will not cover Pre-Location External lists Managed Metadata as a column Metadata navigation Index columns Item-level Permissions options Toggle “New Folder” command is available Control Offline Client Availability Datasheet toggle
Lookups and relationships
Referential Integrity:- As you know, with SharePoint 2007 we can create relationship between lists using Lookup field.  In SharePoint 2010 List also supports Referential Integrity with another list.  Lets say if you have two lists called Student and Department, you can create a referential integrity constraint (Cascade Delete or Restrict Delete) between them.
Lookup  Cascade Delete: Means if item in the parent list is deleted all the associated items in the child list will also be deleted Restrict Delete: If an item in parent list is associated to items in the child list, then this item in parent list cannot be deleted unless its association with all the items from the child list is removed
Cascade Delete “Student” & “Department”.  And now I am creating a relationship between “Student” and “Department”.  Set “Cascade Delete”, which means the when I deleted the “Department” related “Student” also deleted.
Restrict Delete “Student” & “Department”.  And now I am creating a relationship between “Student” and “Department”.  Set “Restrict Delete”, which means the “Department” cannot be deleted if there are one or more “Student” related to it.
Lookup column Type Supported Column Types  Single line of text Multiple lines of text Choice  Number Date and Time  Yes/No Unsupported Column Types Calculated Currency Lookup Hyperlink or Picture Custom Columns Person or Group
DEMO… Create Student List Create Mark List Reference lookup for Mark list Cascade Delete When Student is Deleted the respective mark list need to be deleted  Restrict Delete When you try to delete Student that has reference system prompt for an error?
Form Web Parts
Form Web Parts
v
DEMO…
Column and list level validation
Column and list level validation  SharePoint 2010 is validation of item creation based on either individual column value validation or an overall item validation based on multiple columns
Supported Type Single Line of Text  Choice (single only)  Number  Currency  Date & Time
DEMO… Validation  ID first letter must be Start with “S” end with “G” the length of ID must be 10 char.
List Validation You can only compare column values to one another in a list level validation. A validation formula at the column level cannot include any other columns besides itself.  For example, [Column1]>[Column2] is an invalid formula and SharePoint will not allow it to be used at the column level.
Validation Settings
Validation
DEMO… Validation  Student Papers 1 to 5 the score must be >0 and <=100.
Conflicts What if you have both column level validation and list level validation?  The column level formulas will be evaluated first, then the list formulas What if the column and list level validations are in conflict?  Example - at the list level, you require that [Text1] = [Text2],  but each column has it's own validation; [Text1]="AAA", and [Text2]="BBB".   In this case, it will be impossible to actually submit a list item.  The column validations are evaluated first, but if the values validate here, they will of course fail the list validation.
Unique column
Unique column In SharePoint 2007 you couldn't enforce uniqueness on a column in a list or document library to ensure that the column would never have duplicate values.
Unique column Type Supported Column Types  Single line of text  Choice (single value) Currency Number Date and Time Lookup (multi-valued) Person or Group (single value) Unsupported Column Types Choice (multi-valued) Calculated Hyperlink or Picture Lookup (single value) Custom Columns Person or Group (multi-valued) Multiple lines of text Yes/No
Limitations Remove the index of a unique column. You must change the column from a unique column to one that allows duplicate values first, and then remove the index Change existing column to unique values. If existing column contain duplicate values You must remove all the duplicate values to a unique column and then set to unique values. Change the data type of the unique column Change the column to allow duplicate values, remove the index, change the column to the other supported data type, and then make the column unique You cannot copy a file to a library by using the Open with Explorer command.
Limitations You cannot break inheritance of permissions from a list to a list item. Item-level permissions for not allowed If list that contains items with unique permissions. List items with content approval enabled Case-insensitive “Product 1” and “product 1”. This is because these two values are considered equivalent. Lookup column supported uniqueness in this case means that more than one list item in the child list cannot look up to the same list item in the parent list
Set Unique values
When you try to remove index ?
Select Unique value
Data validation
Column Validation
Column Validation
DEMO…
Inline editing
Inline editing
DEMO…
Rating
Rating  In SharePoint 2007 many customer requested for rating features.  In SharePoint 2010 the ratings become very generic things that have a lot of flexibility.  Rating features allow users to rate content (of any type, Lists, Documents, Pages on a site, and even Content Types) and store that ratings data in the database. Rating feature is only available in SharePoint Server 2010 and not available in SharePoint Foundation 2010
Rating The ratings service uses a ratings control seen here that uses two star displays. The first display shows the average rating.  As you hover your mouse over the stars the colour changes to yellow to reflect the rating you’re about to assign via a mouse click
DEMO…
Info path edit
Info path edit
Large lists with list throttling
List Resource throttle or limit
Powershell script to create items $siteurl = “http://Faizal-PC” $mysite=new-object Microsoft.SharePoint.SPSite($siteurl) $spWeb = $mysite.OpenWeb() $spList = $spWeb.Lists["powershell"] $i = 1001 do { Write-Host “Item – “$i          $spitem = $spList.Items.Add()           $spitem["Title"] = $i.tostring()          $spitem.Update()          $i++ } while ($i -le 7000)
SharePoint 2010 List of List Improvements
SharePoint 2010 List of List Improvements

Contenu connexe

Tendances

Ms Excel 2007 &amp; 2010 Workshop
Ms Excel 2007 &amp; 2010 WorkshopMs Excel 2007 &amp; 2010 Workshop
Ms Excel 2007 &amp; 2010 Workshop
CA Aditya Singhal
 
Ms access notes
Ms access notesMs access notes
Ms access notes
IKIARA
 
Tutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft AccessTutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft Access
mcclellm
 

Tendances (20)

Introduction to spss 18
Introduction to spss 18Introduction to spss 18
Introduction to spss 18
 
CIS145 Final Review
CIS145 Final ReviewCIS145 Final Review
CIS145 Final Review
 
Getting Started with SharePoint Status Indicators - EPC Group
Getting Started with SharePoint Status Indicators - EPC GroupGetting Started with SharePoint Status Indicators - EPC Group
Getting Started with SharePoint Status Indicators - EPC Group
 
Cis145 Final Review
Cis145 Final ReviewCis145 Final Review
Cis145 Final Review
 
Project data tabs
Project  data tabsProject  data tabs
Project data tabs
 
Excel 2010 data tab
Excel 2010 data tabExcel 2010 data tab
Excel 2010 data tab
 
DATA HANDLING FOR SPSS
DATA HANDLING FOR SPSSDATA HANDLING FOR SPSS
DATA HANDLING FOR SPSS
 
Ms Excel 2007 &amp; 2010 Workshop
Ms Excel 2007 &amp; 2010 WorkshopMs Excel 2007 &amp; 2010 Workshop
Ms Excel 2007 &amp; 2010 Workshop
 
Cis145 Final Review
Cis145 Final ReviewCis145 Final Review
Cis145 Final Review
 
Ms access notes
Ms access notesMs access notes
Ms access notes
 
Access 2007
Access 2007Access 2007
Access 2007
 
Effective Use of Excel
Effective Use of ExcelEffective Use of Excel
Effective Use of Excel
 
Access 2007 lecture notes students
Access 2007 lecture notes studentsAccess 2007 lecture notes students
Access 2007 lecture notes students
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasks
 
Sweeping out the cobwebs: Content auditing for large websites
Sweeping out the cobwebs: Content auditing for large websitesSweeping out the cobwebs: Content auditing for large websites
Sweeping out the cobwebs: Content auditing for large websites
 
Les07
Les07Les07
Les07
 
MS Access 2010 tutorial 3
MS Access 2010 tutorial 3MS Access 2010 tutorial 3
MS Access 2010 tutorial 3
 
Oracle Fusion Cloud HCM value sets
Oracle Fusion Cloud HCM value setsOracle Fusion Cloud HCM value sets
Oracle Fusion Cloud HCM value sets
 
MS Excel Module 2012
MS Excel Module 2012MS Excel Module 2012
MS Excel Module 2012
 
Tutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft AccessTutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft Access
 

En vedette

En vedette (6)

Install SharePoint 2010 on Windows 7 VHD Boot
Install SharePoint 2010 on Windows 7 VHD Boot Install SharePoint 2010 on Windows 7 VHD Boot
Install SharePoint 2010 on Windows 7 VHD Boot
 
SharePoint 2013 Sneak Peek
SharePoint 2013 Sneak PeekSharePoint 2013 Sneak Peek
SharePoint 2013 Sneak Peek
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Must have tools for windows azure
Must have tools for windows azureMust have tools for windows azure
Must have tools for windows azure
 
Word automation services
Word automation servicesWord automation services
Word automation services
 
Windows azure traffic manager
Windows azure traffic managerWindows azure traffic manager
Windows azure traffic manager
 

Similaire à SharePoint 2010 List of List Improvements

Databases, SQL and MS SQL Server
Databases, SQL and MS SQL ServerDatabases, SQL and MS SQL Server
Databases, SQL and MS SQL Server
Doncho Minkov
 
Share point ssis adapters 2011
Share point ssis adapters 2011Share point ssis adapters 2011
Share point ssis adapters 2011
Krishna Na
 
Less07 2 e_testermodule_6
Less07 2 e_testermodule_6Less07 2 e_testermodule_6
Less07 2 e_testermodule_6
Suresh Mishra
 
Elsd sql server_integration_services
Elsd sql server_integration_servicesElsd sql server_integration_services
Elsd sql server_integration_services
Steve Xu
 
Mapping inheritance structures_mapping_class
Mapping inheritance structures_mapping_classMapping inheritance structures_mapping_class
Mapping inheritance structures_mapping_class
Todor Kolev
 

Similaire à SharePoint 2010 List of List Improvements (20)

Introduction to Lists SharePoint 2010 - EPC Group
Introduction to Lists SharePoint 2010  - EPC GroupIntroduction to Lists SharePoint 2010  - EPC Group
Introduction to Lists SharePoint 2010 - EPC Group
 
Databases, SQL and MS SQL Server
Databases, SQL and MS SQL ServerDatabases, SQL and MS SQL Server
Databases, SQL and MS SQL Server
 
Share point ssis adapters 2011
Share point ssis adapters 2011Share point ssis adapters 2011
Share point ssis adapters 2011
 
Microsoft Office Word Tutorial
Microsoft Office Word TutorialMicrosoft Office Word Tutorial
Microsoft Office Word Tutorial
 
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
 
Excel Master Class
Excel Master ClassExcel Master Class
Excel Master Class
 
Chapter.07
Chapter.07Chapter.07
Chapter.07
 
Power Automate Techniques that "Save
Power Automate Techniques that "SavePower Automate Techniques that "Save
Power Automate Techniques that "Save
 
Less07 2 e_testermodule_6
Less07 2 e_testermodule_6Less07 2 e_testermodule_6
Less07 2 e_testermodule_6
 
Model Assistant Suite
Model Assistant SuiteModel Assistant Suite
Model Assistant Suite
 
Elsd sql server_integration_services
Elsd sql server_integration_servicesElsd sql server_integration_services
Elsd sql server_integration_services
 
Mapping inheritance structures_mapping_class
Mapping inheritance structures_mapping_classMapping inheritance structures_mapping_class
Mapping inheritance structures_mapping_class
 
Views
ViewsViews
Views
 
Access tips access and sql part 5 more instant queries 1
Access tips  access and sql part 5  more instant queries 1Access tips  access and sql part 5  more instant queries 1
Access tips access and sql part 5 more instant queries 1
 
ETL Validator Usecase - Data Profiling and Comparison
ETL Validator Usecase - Data Profiling and ComparisonETL Validator Usecase - Data Profiling and Comparison
ETL Validator Usecase - Data Profiling and Comparison
 
Technical stream presentation
Technical stream presentationTechnical stream presentation
Technical stream presentation
 
Oracle report from ppt
Oracle report from pptOracle report from ppt
Oracle report from ppt
 
SharePoint Lists: Used, Abused and Underappreciated
SharePoint Lists: Used, Abused and UnderappreciatedSharePoint Lists: Used, Abused and Underappreciated
SharePoint Lists: Used, Abused and Underappreciated
 
How to create pivot tables in Excel
How to create pivot tables in ExcelHow to create pivot tables in Excel
How to create pivot tables in Excel
 
"Using Indexes in SQL Server 2008" by Alexander Korotkiy, part 1
"Using Indexes in SQL Server 2008" by Alexander Korotkiy, part 1 "Using Indexes in SQL Server 2008" by Alexander Korotkiy, part 1
"Using Indexes in SQL Server 2008" by Alexander Korotkiy, part 1
 

Plus de K.Mohamed Faizal

SharePoint 2010 Online for Developer
SharePoint 2010 Online for DeveloperSharePoint 2010 Online for Developer
SharePoint 2010 Online for Developer
K.Mohamed Faizal
 
Exploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud StorageExploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud Storage
K.Mohamed Faizal
 
Building & Managing Windows Azure
Building & Managing Windows AzureBuilding & Managing Windows Azure
Building & Managing Windows Azure
K.Mohamed Faizal
 

Plus de K.Mohamed Faizal (19)

Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in TamilAzure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
 
So you want to be a pre sales architect or consultant
So you want to be a pre sales architect or consultantSo you want to be a pre sales architect or consultant
So you want to be a pre sales architect or consultant
 
Building infrastructure with Azure Resource Manager using PowerShell
Building infrastructure with Azure Resource Manager using PowerShell Building infrastructure with Azure Resource Manager using PowerShell
Building infrastructure with Azure Resource Manager using PowerShell
 
Implementing SharePoint on Azure, Lessons Learnt from a Real World Project
Implementing SharePoint on Azure, Lessons Learnt from a Real World ProjectImplementing SharePoint on Azure, Lessons Learnt from a Real World Project
Implementing SharePoint on Azure, Lessons Learnt from a Real World Project
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft Azure
 
SharePoint on Microsoft Azure
SharePoint on Microsoft AzureSharePoint on Microsoft Azure
SharePoint on Microsoft Azure
 
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
 
Windows Azure Website
Windows Azure WebsiteWindows Azure Website
Windows Azure Website
 
SharePoint Migration What do I expect ? (The issues and solutions)
SharePoint Migration What do I expect ? (The issues and solutions)SharePoint Migration What do I expect ? (The issues and solutions)
SharePoint Migration What do I expect ? (The issues and solutions)
 
Share point 2013 the way to go...
Share point 2013 the way to go...Share point 2013 the way to go...
Share point 2013 the way to go...
 
Share point 2013 cop v4
Share point 2013 cop v4Share point 2013 cop v4
Share point 2013 cop v4
 
SharePoint 2010 Online for Developer
SharePoint 2010 Online for DeveloperSharePoint 2010 Online for Developer
SharePoint 2010 Online for Developer
 
Build and Deploy LightSwitch Application on Windows Azure
Build and Deploy LightSwitch Application on Windows AzureBuild and Deploy LightSwitch Application on Windows Azure
Build and Deploy LightSwitch Application on Windows Azure
 
Exploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud StorageExploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud Storage
 
Building & Managing Windows Azure
Building & Managing Windows AzureBuilding & Managing Windows Azure
Building & Managing Windows Azure
 
Using Social Computing on Corporate world
Using Social Computing on Corporate world Using Social Computing on Corporate world
Using Social Computing on Corporate world
 
Introduction to Branding SharePoint
Introduction to Branding SharePointIntroduction to Branding SharePoint
Introduction to Branding SharePoint
 
Brief about Windows Azure Platform
Brief about Windows Azure Platform Brief about Windows Azure Platform
Brief about Windows Azure Platform
 
Explore SharePoint 2010 Enterprise & Document Management features
Explore SharePoint 2010 Enterprise & Document Management features Explore SharePoint 2010 Enterprise & Document Management features
Explore SharePoint 2010 Enterprise & Document Management features
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 

SharePoint 2010 List of List Improvements

  • 1. SharePoint 2010 List of List Improvements SharePointPro.SG K. Mohamed Faizal Lead Consultant NCS (P) Ltd. 11th Feb 2010 http://faizal-comeacross.blogspot.com/ kmdfaizal@yahoo.com
  • 2. Agenda Lookups and relationships Form web part List & Column Validation Unique values Inline editing Ratings Info path form editing Large lists with list throttling If time permits I will share how to install Windows 7 on VHD boot and Install SharePoint 2010 issues and solutions.
  • 3. List improvement I will not cover Pre-Location External lists Managed Metadata as a column Metadata navigation Index columns Item-level Permissions options Toggle “New Folder” command is available Control Offline Client Availability Datasheet toggle
  • 5. Referential Integrity:- As you know, with SharePoint 2007 we can create relationship between lists using Lookup field. In SharePoint 2010 List also supports Referential Integrity with another list. Lets say if you have two lists called Student and Department, you can create a referential integrity constraint (Cascade Delete or Restrict Delete) between them.
  • 6. Lookup Cascade Delete: Means if item in the parent list is deleted all the associated items in the child list will also be deleted Restrict Delete: If an item in parent list is associated to items in the child list, then this item in parent list cannot be deleted unless its association with all the items from the child list is removed
  • 7. Cascade Delete “Student” & “Department”. And now I am creating a relationship between “Student” and “Department”. Set “Cascade Delete”, which means the when I deleted the “Department” related “Student” also deleted.
  • 8. Restrict Delete “Student” & “Department”. And now I am creating a relationship between “Student” and “Department”. Set “Restrict Delete”, which means the “Department” cannot be deleted if there are one or more “Student” related to it.
  • 9. Lookup column Type Supported Column Types Single line of text Multiple lines of text Choice Number Date and Time Yes/No Unsupported Column Types Calculated Currency Lookup Hyperlink or Picture Custom Columns Person or Group
  • 10. DEMO… Create Student List Create Mark List Reference lookup for Mark list Cascade Delete When Student is Deleted the respective mark list need to be deleted Restrict Delete When you try to delete Student that has reference system prompt for an error?
  • 13. v
  • 15. Column and list level validation
  • 16. Column and list level validation SharePoint 2010 is validation of item creation based on either individual column value validation or an overall item validation based on multiple columns
  • 17. Supported Type Single Line of Text Choice (single only) Number Currency Date & Time
  • 18. DEMO… Validation ID first letter must be Start with “S” end with “G” the length of ID must be 10 char.
  • 19. List Validation You can only compare column values to one another in a list level validation. A validation formula at the column level cannot include any other columns besides itself.  For example, [Column1]>[Column2] is an invalid formula and SharePoint will not allow it to be used at the column level.
  • 22. DEMO… Validation Student Papers 1 to 5 the score must be >0 and <=100.
  • 23. Conflicts What if you have both column level validation and list level validation? The column level formulas will be evaluated first, then the list formulas What if the column and list level validations are in conflict? Example - at the list level, you require that [Text1] = [Text2], but each column has it's own validation; [Text1]="AAA", and [Text2]="BBB".  In this case, it will be impossible to actually submit a list item.  The column validations are evaluated first, but if the values validate here, they will of course fail the list validation.
  • 25. Unique column In SharePoint 2007 you couldn't enforce uniqueness on a column in a list or document library to ensure that the column would never have duplicate values.
  • 26. Unique column Type Supported Column Types Single line of text Choice (single value) Currency Number Date and Time Lookup (multi-valued) Person or Group (single value) Unsupported Column Types Choice (multi-valued) Calculated Hyperlink or Picture Lookup (single value) Custom Columns Person or Group (multi-valued) Multiple lines of text Yes/No
  • 27. Limitations Remove the index of a unique column. You must change the column from a unique column to one that allows duplicate values first, and then remove the index Change existing column to unique values. If existing column contain duplicate values You must remove all the duplicate values to a unique column and then set to unique values. Change the data type of the unique column Change the column to allow duplicate values, remove the index, change the column to the other supported data type, and then make the column unique You cannot copy a file to a library by using the Open with Explorer command.
  • 28. Limitations You cannot break inheritance of permissions from a list to a list item. Item-level permissions for not allowed If list that contains items with unique permissions. List items with content approval enabled Case-insensitive “Product 1” and “product 1”. This is because these two values are considered equivalent. Lookup column supported uniqueness in this case means that more than one list item in the child list cannot look up to the same list item in the parent list
  • 30. When you try to remove index ?
  • 40. Rating In SharePoint 2007 many customer requested for rating features. In SharePoint 2010 the ratings become very generic things that have a lot of flexibility. Rating features allow users to rate content (of any type, Lists, Documents, Pages on a site, and even Content Types) and store that ratings data in the database. Rating feature is only available in SharePoint Server 2010 and not available in SharePoint Foundation 2010
  • 41. Rating The ratings service uses a ratings control seen here that uses two star displays. The first display shows the average rating. As you hover your mouse over the stars the colour changes to yellow to reflect the rating you’re about to assign via a mouse click
  • 42.
  • 46.
  • 47. Large lists with list throttling
  • 49. Powershell script to create items $siteurl = “http://Faizal-PC” $mysite=new-object Microsoft.SharePoint.SPSite($siteurl) $spWeb = $mysite.OpenWeb() $spList = $spWeb.Lists["powershell"] $i = 1001 do { Write-Host “Item – “$i $spitem = $spList.Items.Add() $spitem["Title"] = $i.tostring() $spitem.Update() $i++ } while ($i -le 7000)