Available for: Content Management Server, Template Engine
Task: After exporting the specified folder, this command checks whether an export file
exists for each file that is to be exported and whether no export files exist for files
that must not be exported. Basically, the existence of a released version, its validity
period and its suppressExport
field are checked. The command does not test
whether files exist for nonexistent files.
Additional information:
Syntax:
obj (withId objId) | (withPath path) | root verifyExport filePrefix exportDir
Function parameters:
exportDir
is the path to the directory in which the
export files to be examined are located (specified as in
exportSubtree
).Return value if successful: none. In the case of failure, the relative paths of the missing files and of the files unexpectedly present are output line by line (see the example below).
Necessary permissions (CM only): The user must have the
permissionGlobalExport
permission.
Example:
CM>obj withPath /pub verifyExport \ filePrefix /opt/Infopark/NPS/instance/default/export/online/docs missing: /index.html missing: /pub/p35.html unexpected: /pub/s44.html