Skip to main content
Preference description, drives the Preference GUI. Maintenance client - controls all preferences in SuperOffice.

Constructors

NSPreferenceDescription()

Initializes a new instance of the NSPreferenceDescription class.

Methods

GetAccessFlags()

Returns: CRMScript.Global.Integer - See <xref href=“CRMScript.NetServer.PrefDescAccessFlags” data-throw-if-not-resolved=“false”></xref>. Example:

GetDescription()

Returns: CRMScript.Global.String - Description of preference, multi-language parsed. Example:

GetIsBuiltin()

Returns: CRMScript.Global.Bool - 1 = This row populated and maintained by SuperOffice. Example:

GetKey()

Returns: CRMScript.Global.String - Preference key name. Example:

GetMaxLevel()

Returns: CRMScript.Global.Integer - Lowest allowed setting level, set by user, but not lower than enum <xref href=“CRMScript.NetServer.PreferenceLevel” data-throw-if-not-resolved=“false”></xref> Example:

GetMaxValue()

Returns: CRMScript.Global.Integer - Max value (if type 1); list table ID (if type 5). Example:

GetMinLevel()

Returns: CRMScript.Global.Integer - The minimum (furthest away from User) level this preference can be set for. Example:

GetMinValue()

Returns: CRMScript.Global.Integer - Min value (if type 1); list extra id (if type 5). Example:

GetName()

Returns: CRMScript.Global.String - Multi-language name. Example:

GetPrefDescId()

Returns: CRMScript.Global.Integer - Primary key. Example:

GetRank()

Returns: CRMScript.Global.Integer - Rank field for ordering sections, and keys within sections. Example:

GetRequiredLicense()

Returns: CRMScript.Global.String - Licenses the user/installation must have if this reference is to be shown. Comma-separated list of owner.module pairs. Example:

GetSection()

Returns: CRMScript.Global.String - Preference section name. Example:

GetSubGroup()

Returns: CRMScript.Global.String - Keys that share a value (including NULL) in this field are shown together; a visual spacer is shown between groups. Example:

GetSysMaxLevel()

Returns: CRMScript.Global.Integer - Lowest allowed setting level, set by SuperOffice. See <xref href=“CRMScript.NetServer.PreferenceLevel” data-throw-if-not-resolved=“false”></xref> Example:

GetTableName()

Returns: CRMScript.Global.String - If valueType = 5, then TableName contains the table referenced by the preference. Example:

GetUserDefinedListId()

Returns: CRMScript.Global.Integer - Read-only field, If valueType = 5, and TableName is UDList, then UserdefinedLIstId contains the ID of the list referenced by the preference. Example:

GetValueType()

Returns: CRMScript.Global.Integer - See <xref href=“CRMScript.NetServer.PrefDescValueType” data-throw-if-not-resolved=“false”></xref>. Example:

SetAccessFlags(Integer)

Returns: CRMScript.Global.Void Example:

SetDescription(String)

Returns: CRMScript.Global.Void Example:

SetIsBuiltin(Bool)

Returns: CRMScript.Global.Void Example:

SetKey(String)

Returns: CRMScript.Global.Void Example:

SetMaxLevel(Integer)

Returns: CRMScript.Global.Void Example:

SetMaxValue(Integer)

Returns: CRMScript.Global.Void Example:

SetMinLevel(Integer)

Returns: CRMScript.Global.Void Example:

SetMinValue(Integer)

Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetPrefDescId(Integer)

Returns: CRMScript.Global.Void Example:

SetRank(Integer)

Returns: CRMScript.Global.Void Example:

SetRequiredLicense(String)

Returns: CRMScript.Global.Void Example:

SetSection(String)

Returns: CRMScript.Global.Void Example:

SetSubGroup(String)

Returns: CRMScript.Global.Void Example:

SetSysMaxLevel(Integer)

Returns: CRMScript.Global.Void Example:

SetTableName(String)

Returns: CRMScript.Global.Void Example:

SetUserDefinedListId(Integer)

Returns: CRMScript.Global.Void Example:

SetValueType(Integer)

Returns: CRMScript.Global.Void Example: