Tag Info

Hot answers tagged

21

The dumbed down answer (Anders and Jaap are smarter than I am) is this: When you create a column on a list, both its DisplayName and StaticName are set to the same value. However, the StaticName contains converted values for some characters, most notably a space ' ' is converted to '_x0020_'. So if the DisplayName is 'Product Description', then the ...


6

You can use SharePoint Manager to inspect properties of existing fields, including the InternalName


4

Because SharePoint convert special characters in the internal name. _x0040_ = @ - More about mappings for non-alphabetic characters So that means when that column was created, its title was @Active.


3

If you mean list template ID's you can find them here: http://msdn.microsoft.com/en-us/library/dd586520(office.11).aspx Also theres the FieldId and PropertyConstant classes: FieldId defines constants that you should use to reference SharePoint fields. PropertyConstants is the same deal, but for UserProfile fields. Theres also lots of enumerations that ...


2

Looks like there is no such Public documentation available or i have seen it. You are correct and I test it and my results are same as yours...List filed name turncated to 32 characters but Document library having bigger limit. I tested code from this Blog post. 32 Character Limit Of SharePoint List's Internal Field Name using System; using ...


1

You seem to have a chicken and egg problem. If you are trying to access a field via its name, but don't know what the name is, you need to somehow determine its name. You might try iterating the fields on the list item until you get the one you're looking for, but the question remains, how do you know which is the right one? (That approach will also have ...


1

I use the following function to add an index Function AddIndex () { Param ($list,$InternalFldName) try { Write-Host "Updating index for list: $list"; $fldToIndex =$list.Fields.GetFieldByInternalName($InternalFldName); try { ...



Only top voted, non community-wiki answers of a minimum length are eligible