|
object-field.modify
|
| |
|
description
Modify field (also called object definition) inside an object.
privilege-required
administrator
tx-support
true
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| id |
integer |
none |
true |
Field id. |
|
| |
|
PARAMETER
|
|
name
|
type
|
default-value
|
required
|
description
|
| mandatory |
boolean |
none |
false |
Tell if the field is mandatory to instanciate the whole object class. |
| policy-modify |
string |
none |
false |
Requiered right to modify the field value. |
| indexed |
boolean |
none |
false |
Tell if the field content should be indexed by the search engine.
Please note that neither indexing nor disindexing will be done when modifying this parameter.
You have to manually delete the content and recreate it to rebuild the search index. |
| name |
string |
none |
true |
Field name (should respect regexp defined in configuration file). |
| policy-create |
string |
none |
false |
Requiered right to instanciate the field value. |
| max-versions |
integer |
none |
false |
|
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Object definition name does not exist |
| 2 |
Not allowed to modify this object |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="object-field.modify" id="{$objectdef-id}">
<nvd:parameter name="policy-create">administrator</nvd:parameter>
<nvd:parameter name="mandatory">false</nvd:parameter>
<nvd:result name="id" variable="objectdef-id" />
</nvd:command>
|
|