|
instance.modify
|
| |
|
description
Modify a instance of an object.
Parameter element are used to set each object data field.
Type and format of parameter can be specified (see parameter documentation).
privilege-required
anyone
tx-support
true
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| id |
integer |
none |
true |
Id of the instance. |
| locale |
string |
none |
false |
Locale (language_country) of the content. |
|
| |
|
PARAMETER
|
|
name
|
type
|
default-value
|
required
|
description
|
| policy-read |
string |
none |
false |
Privilege required to display the content.
(owner cannot be applied). |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Failed to modify field |
| 2 |
Incorrect policy |
| 10 |
Field mandatory |
| 11 |
Wrong field type |
| 12 |
12 |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="instance.modify" id="{$instance-id}">
<nvd:parameter name="myfield1">blublu</nvd:parameter>
</nvd:command>
|
|