SOAP API methode Collection_createField

Terug naar de indexpagina

Beschrijving
This method will create a new field into the collection. The name of the collectionfield is mandatory, you can also give the type, the defaultvalue, the specialcontent, if the field has to be displayed and if ordered by this field.

Parameters
Parameter 'id' : int
Unique identifier (id) of the object Collection. The method only applies to the collection with this id.
Parameter 'name' : string
Name of the new field
Parameter 'type' : string
Type of field
Parameter 'value' : string
Default value
Parameter 'display' : boolean
Is the field displayed in overview pages?
Parameter 'ordered' : boolean
Is the field ordered in the overview
Parameter 'length' : integer
Field length
Parameter 'textlines' : integer
Number of text lines
Parameter 'hidden' : boolean
Is this field hidden
Parameter 'index' : boolean
is this field indexed
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'collectionfield' : Structure of type 'collectionfield'

Structuur 'login'
De structuur 'login' is hierboven vermeld. Deze structuur heeft de volgende properties:
Eigenschap 'username' : string
The username of the login attempt
Eigenschap 'account' : string
The account name of the login attempt
Eigenschap 'password' : string
The password for the login attempt

Structuur 'collectionfield'
De structuur 'collectionfield' is hierboven vermeld. Deze structuur heeft de volgende properties:
Eigenschap 'id' : int
The ID of the collectionfield.
Eigenschap 'name' : string
The name of the collectionfield.
Eigenschap 'weight' : int
The weight of the collectionfield.
Eigenschap 'displayed' : boolean
Is this collectionfield displayed?.
Eigenschap 'indatatable' : boolean
Is this field added to the data table?
Eigenschap 'type' : string
The type of this collectionfield.
Eigenschap 'value' : string
The default value of this collectionfield.
Eigenschap 'specialcontent' : string
The special content of this collectionfield.
Eigenschap 'big' : boolean
Is this field a big field?
Eigenschap 'pixelwidth' : int
The width of this collectionfield.
Eigenschap 'ordered' : boolean
Is this collectionfield ordered by default?.
Eigenschap 'length' : integer
Get the length of the collection field
Eigenschap 'lines' : integer
Get the number of lines of the collection field
Eigenschap 'hidden' : boolean
Is this a hidden field?
Eigenschap 'index' : boolean
Is this field indexed?