Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetJsonClientFormFieldSchema method

SPField.GetJsonClientFormFieldSchema method

SharePoint 2013

When overridden in a derived class, gets an object containing information from the field's schema that is useful for client rendering of the field in forms.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public virtual Dictionary<string, Object> GetJsonClientFormFieldSchema(
	SPControlMode mode
)

Parameters

mode
Type: Microsoft.SharePoint.WebControls.SPControlMode

A value that specifies whether the returned object should include information for the Display form, or Edit form, or New form.

Return value

Type: System.Collections.Generic.Dictionary<String, Object>
The field schema information needed for client rendering. For example, the default implementation includes information about whether the field is hidden and read only.
Show:
© 2015 Microsoft