|
publication.modify
|
| |
|
description
Modify a publication.
User must have the modify privilege (policy modify)
on the concerned publication list.
privilege-required
anyone
tx-support
true
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| id |
integer |
none |
true |
Publication id. |
|
| |
|
PARAMETER
|
|
name
|
type
|
default-value
|
required
|
description
|
| parent-id |
integer |
none |
false |
Publication id of the parent (used to create an hierarchical representation of data). |
| publication-date |
date |
none |
false |
Date from which the pubilication will appear. |
| hidden |
boolean |
none |
false |
Mention if the publication should appear or not. |
| policy-exportable |
integer |
none |
false |
Privilege required for linking this publication to an other site publication list. |
| publication-expire-date |
date |
none |
false |
Date from which the pubilication will disappear. |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Insufficient privilege level to publish |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="publication.modify" id="{$pub-id}">
<nvd:parameter name="hidden" type="boolean">false</nvd:parameter>
</nvd:command>
|
|