This topic has not yet been rated - Rate this topic

SPFieldLookup.GetJsonClientFormFieldSchema method

SharePoint 2013

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 override 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.

This implementation calls the base implementation and adds additional schema information relevant to fields of this type, such as "AllowMultipleValues".

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.