Validate documents dialog

Key point: Validate documents in a folder or from the search results.

Validate a folder from folder view

From the folder view on the documents page, click the Validate button at the top right.

You can select to validate any documents, or choose a particular document type in the Documents to be validated drop-down.

In the field on the right, you can choose which schema to use for validation by clicking a selection in the drop-down.

Following are three checkboxes:

  • Clear the left checkbox – if you don’t want to validate subdirectories within the folder.
  • Clear the right checkbox – if you want the validation report to include additional results, not only those with failed assertions.
  • You can also select the Share report with other group members checkbox.

You see a message in a blue box with an icon indicating that, if the selected schema doesn’t apply to a document, it won’t be validated, and also if more than one schema applies to the document, the most specific schema is used.

If you select the Default schema, PageSeeder validates each document with the default schema that corresponds to its document type.

Click the Start button to start the validation.

When the report is running, you see a progress bar. If the validation is taking too long, you can click the red icon to stop the process. When the process is finished, you see a table with information about the following:

  • Folder – path for the folder that was validated.
  • Schema – schema that was selected to validate the folder.
  • Documents – number of documents that were validated.
  • Date – date and time the validation was run.

Following, you see the number of failed assertions and successful reports. It might include more specific information such as warnings, tips and errors if the schema has been configured to include these.

Clicking the Go to results button opens the first document in the report, with the Validation report panel open on the left.

To export the report as a CSV file, click the  Export as CSV button.

You can click the Validate again button or click the Show logs button to view and filter the logs.

Validate documents from search results

From the search results, with search option in table view, choose a document option (scope) in the “Search for” field to enable actions on multiple selected documents using the batch action dialog. Then, click the checkbox on the left of one or more documents you want to validate. This activates the Select an action button.

Clicking the checkbox in the table header only selects results listed on the current page, that is, the number of results that are currently visible. If your results span across multiple pages, you are given the option to select all the results from the search.

Click the icon and click the Validate option. The following Validate dialog opens.

You can choose which schema to use for validation by clicking your selection in the drop-down.

Clear the checkbox on the right if you want the validation report to include additional results, not only those with failed assertions.

You see a message in a blue box with an icon indicating that, if the selected schema doesn’t apply to a document, it won’t be validated, and also if more than one schema applies to the document, the most specific schema is used.

Click the Run button to start the validation.

When the report is running, you see a progress bar. If the validation is taking too long, you can click the red icon to stop the process. When the process is finished, you see a table with information about the following:

  • Documents – number of documents that were validated.
  • Schema – schema that was selected to validate the documents.
  • Date – date and time the validation was run.

Following, you see the number of failed assertions and successful reports. It might include more specific information such as warnings, tips and errors if the schema has been configured to include these.

Clicking the Refresh results button closes the results and also clears your document choices. Clicking the Close button closes the results but keeps your document choices selected.

To export the report as a CSV file, click the  Export as CSV button.

Clicking the Go to results button opens the first document in the report, with the Validation report panel open on the left.

How to find this page

Validation reports can be started from:

  • The folder view on the documents page, click the Validate button at top right.
  • The search results in table view, choose a document option (scope) in the "Search for" field, click one or more checkboxes to the left of documents to activate the Select an action button. Click the icon and click the Validate option.

See also Validation report panel.