Versions Compared

Key

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

Creating a Stored Procedure Data Source

To create a stored procedure data source with system parameters, perform the following steps in Sigma Studio:

  1. Right-click the existing database connection, e.g. NEW CONNECTION and select the Create Data Source option.

    Note

...

  1. To create a database connection in Sigma Studio, refer Creating a Database Connection.

...


  1. Image Added

    The Create Datasource page appears.

...


  1. Image Added

  2. Enter a unique data source name in the Data Source Name field, e.g. STORED PROCEDURE DS.

    Note

...

  1. The Choose Connection is a non-editable field. By default, the selected connection name will appear in the Choose Connection field. The Is SQL? toggle is an optional field. This field is used to facilitate the purpose of using SQL statements.

...


  1. Image Added

  2. Click the Object Name lookup field and select the relevant stored procedure from which the business data need to be fetched. In the following example, the GET_FORM_ITEMS_FILTER stored procedure.

...


  1. Image Added

    The system parameter of the stored procedure appears. For example: item_type.

...


  1. To apply data filters for the system parameters of the stored procedure, click the Procedure Params option.

...



  1. The Procedure Parameter Configuration screen appears.

...



  1. Click the System Parameter Path lookup field and select the Filter Data option to apply data filters for the selected system parameter.

    Note

...

  1. The Parameter Name is a non-editable field. The parameter of the selected stored procedure will automatically be listed as the Parameter Name. For the selected stored procedure of GET_FORM_ITEMS_FILTER, the listed parameter is item_type, which appears as the Parameter Name.

...


  1. Enter the appropriate Default Value of the selected system parameter in the Default Value field, e.g. 16.

...



  1. On the Create Data Source Page, click Save to save the stored procedure data source.

...



  1. A confirmation message, indicating a successful creation of the data source, appears.

...


  1. Click Ok.

















Image Added


Image Added

Image Added


Image Added

Image Added


Image Added


Image Added