Click or drag to resize
FormHelperGetFieldTypes Method

Note: This API is now obsolete.

Returns list of all field types for the given object type

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Use method DataTypeManager.GetFieldTypes")]
public static IEnumerable<string> GetFieldTypes(
	string objectType,
	bool onlyVisible = true
)

Parameters

objectType
Type: SystemString
Object type, if not specified or null, all field types are returned
onlyVisible (Optional)
Type: SystemBoolean
If true, only visible field types are provided

Return Value

Type: IEnumerableString
See Also