clientscript

This topic provides information about the available fields and attributes for the XML definition of clientscript SDF custom objects. For information about developing clientscript SDF custom objects, see Client Scripts as XML Definitions.

Feature Dependencies

  • SERVERSIDESCRIPTING

Attributes

Name

Type

Required / Optional

Description

scriptid

string

Required

This attribute value can be up to 40 characters long.

The default value is ‘customscript’.

Fields

Name

Type

Required / Optional

Description

name

single-select list

Required

This field value can be up to 40 characters long.

This field accepts references to the string custom type.

scriptfile

filereference

Required

This field must reference a .js file.

description

single-select list

Optional

This field value can be up to 999 characters long.

This field accepts references to the string custom type.

isinactive

boolean

Optional

The default value is F.

notifyadmins

boolean

Optional

The default value is F.

notifyemails

string

Optional

This field value can be up to 999 characters long.

notifygroup

string

Optional

Note:

Account-specific values are not supported by SDF.

notifyowner

boolean

Optional

The default value is T.

notifyuser

boolean

Optional

The default value is F.

fieldchangedfunction

string

Optional

 

lineinitfunction

string

Optional

 

pageinitfunction

string

Optional

 

postsourcingfunction

string

Optional

 

recalcfunction

string

Optional

 

saverecordfunction

string

Optional

 

validatedeletefunction

string

Optional

 

validatefieldfunction

string

Optional

 

validateinsertfunction

string

Optional

 

validatelinefunction

string

Optional

 

Structured Fields

Structured fields are elements that usually contain subfields or groups of fields. They are similar to regular fields but have their own embedded structure. The following structured fields are supported:

General Notices