Advertisement
We can add custom columns easily by using "listItemProperty"
->Navigate to SharePoint Designer
->Open your Page Layout
->Drag and drop "ListItemProperty" to desired location in the toolbox, server controls.
we have something like the following:
<SharePointWebControls:ListItemProperty runat="server" id="ListItemProperty1"/>
In this we can add "Property" value using desired property
Example:
1) <SharePointWebControls:ListItemProperty runat="server" Property="DocumentUrl" id="ListItemPropertycustom1"/>
2) <SharePointWebControls:ListItemProperty runat="server" Property="Assoociated_x0020_Document_x003a_Link_x0020_Title" id="ListItemPropertycustom2"/>
Note:
->If we have spaces in a custom field use "_0x0020_"
->We are calling secondary lookup fields, then the colon is represented by "_x003a_"
Reference: List of Custom column field IDs
->Navigate to SharePoint Designer
->Open your Page Layout
->Drag and drop "ListItemProperty" to desired location in the toolbox, server controls.
we have something like the following:
<SharePointWebControls:ListItemProperty runat="server" id="ListItemProperty1"/>
In this we can add "Property" value using desired property
Example:
1) <SharePointWebControls:ListItemProperty runat="server" Property="DocumentUrl" id="ListItemPropertycustom1"/>
2) <SharePointWebControls:ListItemProperty runat="server" Property="Assoociated_x0020_Document_x003a_Link_x0020_Title" id="ListItemPropertycustom2"/>
Note:
->If we have spaces in a custom field use "_0x0020_"
->We are calling secondary lookup fields, then the colon is represented by "_x003a_"
Reference: List of Custom column field IDs
Thanks for the How-To. What is the functional purpose of adding a property to a page layout? Would it be used in search or some other content roll up?
ReplyDeleteA76C792C6B
ReplyDeletebeğeni satın al
Bot Takipçi
Kredi Danışmanlık Şirketleri
Sanal Numara
Organik Takipçi
7EDE1C4E16
ReplyDeleteTakipçi Satın Al
M3u Listesi
Google Konum Ekleme
Razer Gold Promosyon Kodu
Dude Theft Wars Para Kodu