Skip to content

Publish

Josef Prinz edited this page Mar 22, 2024 · 7 revisions

Publishing

This topic contains the following sections:

Publication requirements

To publish a document, write access rights are required for the selected file server. To publish to the AutomationML file server, select the AutomationML server profile with write access and add your login information for the AutomationML NextCloud.

Server

AutomationML server profile with write access

For publication, the document must have identifying attributes from which the file name is composed. Depending on the document type and publication location, different restrictions apply to the attribute values. Stricter rules apply to publication on the AutomationML file server.

Server Identification of published documents

Back To Top

Review of library modeling conventions

AutomationML has defined conventions for the modeling of libraries. These include mandatory and recommended conventions. Before publication, compliance with the AutomationML standard and compliance with the mandatory conventions are checked. Recommended conventions can also be checked, but are reported as a note rather than an error.

Review Review of modelling conventions

Back To Top

Review protocol

The result of the review is displayed in the review protocol. Incorrect elements are highlighted and, if available, a correction function can be called up.

Protocol Review protocol

If all corrections have been made, the test must be repeated.

Back To Top

Publishing a document

If all checks have been completed without errors, the document can be published. If the document contains a new version of an already published library, both the new document and the already published document are uploaded to the server, as the relationship between the versions means that this document has also been changed. The libraries contained in the uploaded documents are signed for publication on the AutomationML file server. Signing is optional for user-defined libraries with a different publication target. Modified, already published versions are replaced and get a new signature. The previous unmodified versions will still be recognized as verified.

Publish Publishing

If a library document is published, the libraries it contains are automatically signed if the AutomationML file server is selected as the destination. Signing is optional for user-defined libraries with a different destination. A key pair with an encryption method specified by the editor is required for signing. A corresponding dialog opens to generate the key or to load an existing key.

Sign Signing

If the server used manages an index of published libraries, the signature can be saved there. Otherwise, it is also possible to insert the signature in the header of the library element in the CAEX file. In the latter case, the signature can also be verified by the editor or even 3d party applications (if the Aml.Engine is used) without access to the server.

Back To Top