Developers can create their own libraries in the Designer. With PAS 23.1.1 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:

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.


StepFieldDescriptionMandatory
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 properties 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-MailEnter the email address of the developer that is reponsible to maintain the asset. By default, the address of current user is used.(tick)
TagsEnter 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


DescriptionEnter a description of the asset. The description can be much more extensive than the summary (see below).(error)
SummaryEnter 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)
4Upload Additional Material

Upload Files: LogoIf 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: AttachmentsIf 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), use button Next.

The second window of the Publish Asset wizard will open:

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

StepFieldDescription
1Manage Meta DataNameIn the second window of the wizard, you can still rework the name of your asset. By default, the name of the service is used.
VersionIn the second window of the wizard, you can still rework the version number of your asset. By default, the version number from the deployment properties 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.

LibraryColumn 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.

4Manage Documentation
DocumentationEnter 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.

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.

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.

  • No labels