PowerShell in Sharepoint 2010 – Basics Part 1 5.00 / 5 5 1 / 5 2 / 5 3 / 5 4 / 5 5 / 5 2 votes, 5.00 avg. rating ( 97 % score) 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. Usage Variables Following is the simplest way of creating variables and assign value 1 2 $firstName = "Adi" $empId = 999 Other commands to create, retrieve and set variables New-Variable cmdlet is used to create variables with additional features like description and options like setting as readonly variable Following code creates new readonly variable ‘SiteName’ and assigns value to it. It also provides description what the variable is 1 New-Variable -Na...
Introduction Managed Metadata is a hierarchical collection of terms that can be associated with items in SharePoint 2010. We can use Central Administration website to manage these terms. This is a new feature in SharePoint 2010. Example : You have a document library to upload articles. For each item you can specify a column metadata of category like C#, ASP.NET etc. The Purpose So you might be wondering that there exist list columns for the same purpose. Following are some advantages provided by Managed Metadata: Term Sets can be shared across a site collection or globally Searching using Metadata gives more relevant result Some Concepts inside Managed Metadata Term : A term is keyword that can be associated with a SharePoint item. Term Set : A term set is a group of terms. You can restrict that a particular item should contain a term from a particular term set. For example: setting the category of an article item from term set [C#, ASP.N...
Difference Between Site Template and Site Definition Before going into direct comparison, let me define both: Site Templates : Are snapshots of sites at a point in time. When a user customizes a site from the UI or SPD, the custom template consists of the difference between the original state of the site (determined by its definition) and the state of the site or list when the custom template is generated. Custom templates remain tied to a particular site definition (for example, the site definition for SharePoint Web sites or Meeting Workspace Web sites), so that if the site definition is not present or is changed, the custom template cannot work. Site Definitions : As the name implies, A Site definition is "core definition of a site”. Each site definition emerges through a combination of files that are placed in the 12 hive of WFE during installation of SharePoint. Site definition files include .xml, .aspx, .ascx, and .master page files, as well as docum...
Comments
Post a Comment