Skip to main content
Skip table of contents

Publishing Assets

Developers can create their own libraries in the Designer. They are also able to publish these libraries via the asset repository to share them with their whole team. Detailed documentation of your assets is important so that other team members can use your library quickly and easily. Use the Publish Asset wizard to easily document and publish your library to speed up collaborative development.

How to Publish a Library

When you are done developing, check that you have enabled the Include in Library Export attribute for all elements that you want to include in your library:

In the Controls panel, open Addional menu > Assets > Publish Library:

Working With the Publish Asset Wizard

The first window of the Publish Asset wizard will open:

publish_asset_wizard.png

The Publish Asset wizard supports you during the publication. Follow the wizard step by step through the configuration process.

The wizard is also used to upload libaries in the Library administration.

Step

Field

Description

Mandatory

(1)

Enter Meta Data




Name

  • If you publish a new asset: Enter a name for your asset. By default, the name of the service is used.

  • If you upload a library in the administration: The name of the library file is used automatically. The name field is read-only in this case. Refer to Administrating Libraries for details.

(tick)

Version

  • If you publish a new asset: Enter a version number. By default, the version number from the deployment details is used.

  • If you upload a library in the administration: The version set in the the library file is used automatically. The version field is read-only in this case. Refer to Administrating Libraries for details.

(tick)

Maintainer E-Mail

Enter the email address of the developer that is reponsible to maintain the asset. By default, the address of current user is used.

(tick)

Tags

Enter some tags that are related to the asset. This is optional, but well-chosen tags help users to find the right asset faster.

(error)

(2)

Describe Asset


Description

Enter a description of the asset. The description can be much more extensive than the summary (see below).

(error)

Summary

Enter a brief description of the asset that summarizes its functionality. The summary is displayed in the Asset Drawer.

(error)

(3)

Select Namespaces

Select Namespaces

Select the namespaces in which you want to publish the asset. Multiple selection is possible.

  • Shared: Makes the asset available to all users that work in your system.

  • Individual Namespaces: Makes the asset available to all users who have been assigned the corresponding namespace.

(tick)

(4)

Upload Additional Material

Upload Files: Logo

If you want to display a logo for the asset in the Asset Drawer, you can upload it here. Valid file types are jpg and png. The maximum size is 1 MB.

(error)

Upload Files: Attachments

If you want to add some illustrations to your asset, you can upload them here. Valid file types are jpg, png, gif and mp4. The maximun size is 50 MB. Uploading multiple files is possible.

(error)

If you have filled all mandatory fields, you can already Publish the asset. If you want to manage the asset's documentation first (see Documenting Assets for details), click Next. The second window of the Publish Asset wizard will open:

publish_asset_wizard2.png

Use the second window of the wizard to add, remove or rework the documentation of your library content.

Step

Field

Description

(1)

Manage Meta Data

Name

In the second window of the wizard, you can still rework the name of your asset. By default, the name of the service is used.

Version

In the second window of the wizard, you can still rework the version number of your asset. By default, the version number from the deployment details is used.

(2)

Select Library Content



Include

The Include checkbox corresponds to the element attribute Include in Library Export: Activate the checkbox for all elements that you want to include in your library.

Library

Column Library shows the content of the Implementation folder of your service. Expand and collapse the nodes to display all available items. Click an item name to activate the documentation field (see below) for the item on the right side of the window.

No Description / Description

The displayed name of the field indicates if a description for the element is already available or not. Click the field name to activate the documentation for the item on the right side of the window.

(3)

Manage Documentation

Documentation

Enter your explanatory text for the corresponding element in this field. Use the various formatting features of the built-in text editor.

When you have finished all entries, use the Publish button to upload your library to the chosen namespaces. If you publish a new library, the upload may take a while because the library must be compiled first. The third window of the wizard informs you about the current state of the publication:

Either the publication of your library is in preparation:

publish_wizard_preperation_message.png

In that case, the library is now compiled and then uploaded. Since this can take some time, you can close the wizard. A toast message will be displayed on the screen after a successful publication.

Or your library was published successfully:

publish_wizard_success_message.png

In that case, the library has been uploaded to your chosen namespace(s) and is available in the library administration as well as in the Asset Drawer.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.