...
Code Block | ||
---|---|---|
| ||
ant data-import -Ddir={path-to-directory} [-Dpattern={regex}]
|
...
Code Block | ||
---|---|---|
| ||
ant data-import -Dfile={path-to-file}
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
ant data-list |
Export
Creates XML files representing the requested entities and writes them to the specified file system location.
Usage
Code Block |
---|
ant data-export -Ddir={path-to-directory} -Dtype={entity-type} [-Dsysid={entity-identifier}]
|
...
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}]
|
...
entity-type | sysid | export | delete | notes |
---|---|---|---|---|
all | All portal entities | Combines the following sub-types:
| ||
all-layouts | All user layouts | Normal users generate | ||
all-profiles | All user profiles | May generate more than one document per user | ||
all-permissions | All permissions | A | ||
all-permission_sets | All permission_sets | A | ||
all-memberships | All local (RDBMS) memberships | A | ||
all-channels | All channels |
| ||
all-channel-types | All channel types |
| ||
all-groups | All local (RDBMS) groups | A | ||
all-group_memberships | All local (RDBMS) group_memberships | A | ||
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 |
|
|
|
|
profile |
|
|
| May generate more than one document per user |
channel |
|
|
|
|
channel-type |
|
|
|
|
group |
|
|
| A |
group_membership |
|
|
| A |
user |
|
|
|
|
theme |
|
|
|
|
structure |
|
|
|
|
entity-type |
|
|
|
|
fragment-definition |
|
|
|
|
...