Show / Hide Table of Contents

Class FieldInfoBase

Abstract basic information about database fields. May be custom or user-defined fields. The information can be used to build a user interface.

Carrier object for FieldInfoBase. Services for the FieldInfoBase Carrier is available from the UserDefinedFieldInfo Agent.
Inheritance
object
FieldInfoBase
FieldInfoAttachment
FieldInfoBlob
FieldInfoBool
FieldInfoDate
FieldInfoDateTime
FieldInfoDecimal
FieldInfoDynamicLink
FieldInfoInt
FieldInfoListText
FieldInfoLongText
FieldInfoMdoList
FieldInfoRelation
FieldInfoShortText
FieldInfoTime
FieldInfoTimeSpan
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class FieldInfoBase

Constructors

FieldInfoBase()

Default constructor

Declaration
public FieldInfoBase()
See Also
IUserDefinedFieldInfoAgent

Properties

Description

Optional tooltip text for this field

Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
Type Description
string
See Also
IUserDefinedFieldInfoAgent

DisplayName

Label for field. May be multi-lang string encoded.

Declaration
[DataMember]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string
See Also
IUserDefinedFieldInfoAgent

FieldName

Database name or prog-id: 'x_foobar' or 'SuperOffice:2'.

Declaration
[DataMember]
public virtual string FieldName { get; set; }
Property Value
Type Description
string
See Also
IUserDefinedFieldInfoAgent

FieldType

What sort of data does this field contain. 1 = int, 2 = short text, ...

Declaration
[DataMember]
public virtual CustomFieldType FieldType { get; set; }
Property Value
Type Description
CustomFieldType
See Also
IUserDefinedFieldInfoAgent

HideField

Hide the field from the UI. Only allow API access.

Declaration
[DataMember]
public virtual bool HideField { get; set; }
Property Value
Type Description
bool
See Also
IUserDefinedFieldInfoAgent

HideLabel

Hide the label if 1

Declaration
[DataMember]
public virtual bool HideLabel { get; set; }
Property Value
Type Description
bool
See Also
IUserDefinedFieldInfoAgent

IsDisplayField

Flag indicating that this field is chosen as DisplayField for a table it belongs

Declaration
[DataMember]
public virtual bool IsDisplayField { get; set; }
Property Value
Type Description
bool
See Also
IUserDefinedFieldInfoAgent

IsExternal

Should this field be shown to external users via customer center?

Declaration
[DataMember]
public virtual bool IsExternal { get; set; }
Property Value
Type Description
bool
See Also
IUserDefinedFieldInfoAgent

IsIndexed

Is this field indexed? 0 if no, index no. if yes

Declaration
[DataMember]
public virtual bool IsIndexed { get; set; }
Property Value
Type Description
bool
See Also
IUserDefinedFieldInfoAgent

IsMandatory

0 = no, 1 = yes (field must be filled out)

Declaration
[DataMember]
public virtual bool IsMandatory { get; set; }
Property Value
Type Description
bool
See Also
IUserDefinedFieldInfoAgent

IsReadOnly

0 = read/write, 1 = readonly (don't combine with mandatory 8-) )

Declaration
[DataMember]
public virtual bool IsReadOnly { get; set; }
Property Value
Type Description
bool
See Also
IUserDefinedFieldInfoAgent

Rank

Tab order, ranking within the custom fields.

Declaration
[DataMember]
public virtual int Rank { get; set; }
Property Value
Type Description
int
See Also
IUserDefinedFieldInfoAgent

ShortLabel

Short name to be used in Archive headings and on page 1. If blank, the fieldLabel will be used everywhere.

Declaration
[DataMember]
public virtual string ShortLabel { get; set; }
Property Value
Type Description
string
See Also
IUserDefinedFieldInfoAgent

TemplateVariableName

Template variable name: 'cs01', 'cl02' etc. Null for extra fields.

Declaration
[DataMember]
public virtual string TemplateVariableName { get; set; }
Property Value
Type Description
string
See Also
IUserDefinedFieldInfoAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

Overrides
object.ToString()
See Also
IUserDefinedFieldInfoAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public virtual string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
IUserDefinedFieldInfoAgent

See Also

IUserDefinedFieldInfoAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top