The Settings panel

The Settings panel is the rightmost panel of the Editor where components dropped on the Canvas panel can be edited and configured. The basic operations possible in the Editor, such as saving, restoring or deploying a project, are also possible from here.

Figure: Settings panel


The Settings panel has two views:

  • Edit view
  • Settings view

By default, the Settings panel displays the Edit view.

The Edit view

The selected component can be configured in the Edit view. The attributes and properties defined for a component get rendered as XML code.

Figure: The Edit view of the Settings panel


Depending on the type of the selected mix component, you can edit the properties or the source code of the component, or transform it into a different component.

The available functionalities are:

  • PROPERTIES
    Clicking PROPERTIES displays the Property Editor, as shown in Figure 3, where properties can be added and edited.

    Figure: The Property Editor


    Tip: The Editor suggests properties based on the type of the component, and the SPARKL extension used for provisioning. The colour of the hint tells you whether it is an obligatory (red), recommended (yellow), or optional (blue) property. Clicking the question mark ("?") in the right corner of the hint opens a help page that describes the property.
  • EDIT SOURCE
    Clicking EDIT SOURCE opens the content of the component in the Editor's text editor as XML code, as shown in Figure 4.

    Figure: The SPARKL text editor

  • TRANSFORM TO CONSUME/TRANSFORM TO REQUEST
    Clicking this button transforms a request into a consume or a consume into a request.
  • TRANSFORM TO MIX/TRANSFORM TO FOLDER
    Clicking this button transforms a mix into a folder or a folder into a mix.
    Note: Operations normally have to be defined inside a mix folder. At transaction runtime, SPARKL ignores operations that are not inside a mix folder.
  • IMPORT INTO FOLDER/IMPORT INTO MIX
    You can embed a SPARKL configuration directly into the selected folder or mix. You can load this configuration from your local file system.

The Settings view

The basic operations in the Editor, such as saving, restoring or deploying a project, are available from the Settings view.

Figure: Settings view menu


As shown in Figure 5, in this view you can:

  • Load a SPARKL configuration from your:
    • Local file system
    • Browser's memory
    • SPARKL configuration tree accessible from the Developer Console
  • Save your project to your:
    • Local file system
    • Browser's memory
    • SPARKL configuration tree accessible from the Developer Console
  • Validate your project for errors