Show TOC Start of Content Area

Procedure documentation Creating a Model and Development Component  Locate the document in its SAP Library structure

Use

You create a new model by selecting the model type, assigning the model a name, and choosing the location in which you want to save the model. If the development component in which you want to create the model does not exist, you can create a new development component in the local repository.

Prerequisites

If you are working with source control, the source control system has been configured appropriately. For more information, see Configuring Visual Composer to Work with NWDI.

Procedure

...

       1.      Click the New button in the main toolbar, or choose Model New. The Create New Model dialog box is displayed.

Note

You can also create a new service component within a component by dragging a Service Component operator from the Compose task panel onto the Design board. From the displayed context menu, choose New Service.

You can also create a new composite view within a component by dragging a Nested View from the Compose task panel onto the Design board.

For more information, see Introducing the Compose Task Panel.

       2.      In the Model Type pane, choose the type that you want to create, for example,

¡        Composite View: A model of an application task, such as searching for and displaying data

¡        Service Component: A single customized data service that contains one or more data services

The options displayed depend on the Visual Composer kits that are installed on your Visual Composer server.

       3.      In the Name field, enter a name for the model.

       4.      From the Repository dropdown list, choose the repository type in which to store the model. You can choose from the following options:

¡        Local Repository: Stores the model in a local repository with no source control. Models in the local repository can be accessed only by the user who created them.

¡        Shared Repository: Stores the model in a shared location where it can be accessed by other modelers. Models saved in this location are managed using basic source control features (check in and check out). When you create a model in the shared repository, it is automatically checked out to you that so you can start working on it. This option is available only if you do not have a source control system installed and configured for use with Visual Composer.

¡        Source Control Repository: Stores the model in the selected source control system. This option is available only if you have a supported source control system installed and configured for Visual Composer.

       5.      In the Software component field, choose the software component in which you want to save the model.

Note

You cannot create a new software component from within Visual Composer.

       6.      In the Development component field, choose the location in which to save the model. If there are no development components in the dropdown list, or if you want to create the model in a different development component, you can create one in the local repository as follows:

                            a.      Click the New button next to the Development component field. The Create New Development Component dialog box is displayed.

                            b.      From the Master language dropdown list, choose the source language to be used in the components stored in the development component.

                            c.      In the Development component field, type a name for the development component.

                            d.      Click OK. The new development component is created in the local repository and appears in the Development component field.

       7.      Click OK.

Result

The new model opens in its own tab in Storyboard. If you chose to store the model in the shared repository or in the source control system, it is automatically checked out to you.

End of Content Area