...
Info | ||
---|---|---|
| ||
On export, XML documents will be organized into sub-directories by entity type: e.g. |
Delete
Removes the specified entities as well as dependent (orphaned) entities from the portal database.
Warning | ||
---|---|---|
| ||
The DELETE feature should be used with extreme caution and is more appropriate for DEV and TEST portals than for PROD. It is possible to make your portal unusable by deleting the wrong thing. |
Usage
Code Block |
---|
>ant crn-delete -Dtype={entity-type} [-Dsysid={entity-identifier}]
|
Where entity-type
is any supported entity type (see table below); and entity-identifier
is the Id
or Name
of a single entity of the specified type.
Table of Entity Types
entity-type | sysid | export | delete | notes |
---|---|---|---|---|
all |
| All portal entities |
|
|
all-layouts |
| All user layouts |
| Normal users generate |
all-permissions |
| All permissions |
| A |
all-permission_sets |
| All permission_sets |
| A |
all-memberships |
| All local (RDBMS) memberships |
|
|
all-channels |
| All channels |
|
|
all-channel-types |
| All channel types |
|
|
all-groups |
| All local (RDBMS) groups |
|
|
all-group_memberships |
| All local (RDBMS) group_memberships |
|
|
all-users |
| All users |
|
|
all-themes |
| All themes |
|
|
all-structures |
| All structures |
|
|
all-entity-types |
| All entity types |
| "Entity types" here refers to the |
all-fragment-definitions |
| All fragment definitions |
| Requires the |
layout | |
|
|
|
channel | |
|
|
|
channel-type | |
|
|
|
group | |
|
|
|
group_membership | |
|
|
|
user | |
|
|
|
theme | |
|
|
|
structure | |
|
|
|
entity-type | |
|
|
|
fragment-definition | |
|
|
|
...