Wednesday, March 15, 2017

Hide Field Names in SharePoint Display Page

Hide Field Names in SharePoint Display Page with Attribute property.

SharePoint use format SPBookmar_{FieldInternalName} for every columns in DOM. Hence, use this format to hide it.
$("a[name='SPBookmark_hdnCentralCommittee']").closest("tr").hide();

Hide Field Names using Field display name in SharePoint Display Page 
$("h3.ms-standardheader:contains('Business Unit/Company')").text("Business Unit");

No comments:

Post a Comment