You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Uploading Libraries

In the Libraries menu you can upload and manage your own libraries. Libraries are always uploaded to a dedicated namespace. If you want to use a library in several namespaces, you must upload it to each namespace separately.

You can upload library files in .lrep or .xlib format. When you download a library, it will always be in format .xlib.

When you open menu Libraries, you must first select the namespace you want to edit.

The selected namespace is highlighted in blue and section Libraries is displayed. You are now able to upload library files to the selected namespace.

To select a library file, click button Browse.

The name of the selected file is displayed. If you want to select a different file, use the Change File button.

Click Upload to confirm your choice and start the action.

After a successful upload the library is displayed in the Libraries section.

The library is now available within this namespace.

If you want to add the library to a project, open the Libraries folder and use the Manage libraries button.

All uploaded libraries of the selected namespace are listed in the libraries section.

The Designer allows you to upload several versions of a library.

Select a library in the list to display section Versions where all available versions of the library are displayed.

Updating a Library

The Designer allows you to upload a new file for the same version of a library to update an already existing version. The necessary steps to update an existing library are explained in this section.

However, the Designer also allows you to upload several versions of a library. We recommend that you prefer uploading new versions to updating libraries, and that you change the version number with each new version. This provides a better overview on the used libraries, especially if larger user groups cooperate.

If you try to upload an already existing library in the same version again, you will receive an error message.

To update an already uploaded library, mark the library in question.

This will open section Versions below the library list.

In this section all versions of the library are listed.

Click on a version to display

  • its dependencies.
  • the Update section.

Use button Browse to select the new library file you want to use.

The name of the selected file is displayed. If you want to select a different file, use the Change File button.

Click Update to start the action.

If you update a library in the Designer administration, it is not automatically updated in the services where you use it.

If you update the version of a library that you are currently using in a service, you need to save the library in the service again.

Go to page Adding Libraries for further information.

MultiExcerpt named clear_compiler_cache was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro

Deleting a Library

All uploaded libraries of the selected namespace are listed in the libraries section.

If you want to delete a library from the list, click .

Be careful when using this option: If you delete a library in the administration, it is no longer available for all services in the namespace. The implementation of the service(s) in the affected namespace may become invalid.

Downloading a Library

You can also download a library from a selected namespace.

Select the library you want to download and use the download button in the Versions section.

Library Documentation

During the creation of your own libraries in MagicDraw, you can insert explanatory documentation to the elements.

For further information about the creation of documentation tags see page Model Documentation in the Builder User's Guide.

Use the documentation icon to display the documentation of a library.

If documentation is available, it will be opened in a new browser tab.

This allows developers to access library documentation at any time during the development process.

  • No labels