Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Are ID of default fields (or SharePoint components) in 14 hive same for SharePoint installed on different machines ?

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

Yes the Guid of the default fields like Title, Author, Created etc. stays the same across machines. You can reference them with the SPBuiltInFieldId class. E.g.: SPBuiltInFieldId.Title will give you the Guid of the Title field.

share|improve this answer
    
I am using CAML query to define content type and I am referring 14-Hive\TEMPLATE\FEATURES\fields\fieldswss.xml for refering existing columns. –  Ravi Ranjan Nov 17 '12 at 10:10
1  
Yes the GUIDs mentioned in that file are common across different machines too. In fact if you fetch the GUID of a default column through the SPBuiltInFieldId class, it will return the same GUID as mentioned in the fieldswee.xml file. –  Vardhaman Deshpande Nov 17 '12 at 15:03
add comment

This link shows SharePoint Default field GUID(ID), Internal Name and Display Name..

http://sharepointmalarkey.wordpress.com/2010/10/12/sharepoint-internal-field-names-sharepoint-2010/

and this GUIDs are not changed in any system. They remains same.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.