Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Right-click the Funclet node, and click the Add Configuration option. 


    Figure 2: Context menu to add Configuration

  2. Click the Add button and provide a name for the funclet in the Extension Name text field that gets displayed, and click the Edit button below the text field to provide its properties.


    Figure 3: Option to add funclets

    Info

    The table below provides information about each button, starting with the Add option to add funclets, in the Add New Configuration dialog box.

    PropertyDescription
    Add

    To add a funclet, click Add, provide Extension Name, and click Finish to open a new script function wizard.

    RemoveRemoves the selected funclet from the repository.
    Import Local FuncletsEvent Process Repository: The custom funclets added in any event process in the event process repository get displayed from where the required funclet can be chosen.

    Exported Event Process: The custom funclets present in an exported event process get displayed from where the required funclet can be chosen.

    Import Global FuncletsTo import the funclets that are exported previously from global repository to the local disk.
    Export to Local DiskThe selected funclet will be zipped and saved in the location specified.
  3. Select one of the following options from the Language drop-down.

    1. javascript
      1. Add the script for the funclet in the Type in the script here text area and click Next.

        Figure 4: Script Information pane with the javascript language option

      2. Select one or more of the functions to appear in the function palette and click Finish.


        Figure 5: Option to choose funclets to appear in function palette

    2. java
      1. Enable the Include jar to classpath checkbox.

      2. Click the Add Jar button and select the jars to be added.

      3. Provide the class name of the jar in the Type in the fully classified jar text box and click Next.


        Figure 6:Options to choose Java jars and add jar class

      4. Select one or more of the functions to appear in the function palette and click Finish.


        Figure 7: Option to choose funclets to appear in function palette

  4. Click Close/Save.


    Figure 8: Option to edit or close

  5. The global funclet gets added under the Funclet node; expand to see the same.


    Figure 9: Global funclet appearing under the Funclet node

...

Adaptavist ThemeBuilder EngineAtlassian Confluence