Skip to main content
Skip table of contents

Preparations

With the Designer, you can build and use your own libraries. Since this is a tutorial for beginners, we provide a pre-built library for creating the tutorial service.

Good to Know: What is a library?

Sometimes service models can become really big if you put all implementations into one big main model. The drawbacks are obvious: the bigger the model becomes, the longer it will take to load or compile the model. Additionally, if multiple modelers are working on the service, the Designer may slow down.

One solution is to use  Libraries  in this case (the other one is to build multiple smaller services). Using libraries, you can split your service implementation into smaller chunks that can be worked on independently. These chunks can be be reused in multiple services and tested separately. Libraries also speed up collaborative development because you can share your libraries with other developers.

If you want to learn more about the concept of libaries, refer to the chapters Working With Libraries ind the Designer User Guide and Developing and Using Libraries in the Designer Developer Guide.

Import the Library "ERPOrderInterface"

Library ERPOrderInterface provides necessary data types and operations to bring your business process to life. You can download this library from our documentation: ERPOrderInterface.lrep, and import it to your namespace.

Switch to the Administration tab, and select menu Libraries.

  1. Import the library to your namespace as described on Administrating Libraries in the Designer Guide.

  2. Add it to your service as described on Adding Libraries in the Designer Guide.

open_library_admin.png

If you are doing a trial, the library is already present in your namespace. You only need to add the library to your service (step 2).

In this case, you can stay within the service and open the Asset Drawer: Click button Assets in the search box. Use the Add button of ERPOrderInterface to add the library to folder Libraries in the service panel.
Click button Assets again to close the asset drawer:

Your service panel now should display library ERPOrderInterface in the Libraries folder:

Additionally, library Base Types is displayed in the service panel. This is a standard library that contains all necessary simple types. You cannot remove this library.

The folder Implementation contains a package Forms which is generated automatically. It contains all types that are related to the forms you have created.
Expand class Form_EnterWebOrder to see all form elements you have defined in your first form:

JavaScript errors detected

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

If this problem persists, please contact our support.