Configuring input web extension
This example shows how to configure the Input web extension and store it in the report variables for further processing:
- Create an Application Studio report with the Sample Input name.
- Set the custom size of the column B to 200 pixels, rows 3 and 6 to 34 pixels, and row 9 to 100 pixels.
- Create the report variables with these names: InputValue, SearchValue, and TextareaValue.
- Specify this information:
- Cell D3
- Specify =ReportVariables.InputValue.Text.
- Cell D6
- Specify =ReportVariables.SearchValue.Text.
- Cell D9
- Specify =ReportVariables.TextareaValue.Text.
- To create a numeric input field, insert the Input web extension in the cell B3.
- In the Format Web Extension dialog box, specify these values:
- Mode
- Specify ="Light".
- Label
- Specify ="Input".
- Value
- Specify ="D3".
- Type
- Specify ="Input".
- Format
- Specify ="Number".
- Custom Symbol
- Specify ="$".
- Maximum Lengths
- Specify ="".
- Precision
- Specify ="2".
- Mandatory
- Specify ="False".
- Information
- Specify ="This is a number input field.".
- Hint Text
- Specify ="Enter number".
- Error Text
- Specify ="".
- State
- Specify ="Enabled".
- Dirty Flag
- Specify ="".
- Click OK.
- To create a search field, insert the Input web extension in the cell B6.
- In the Format Web Extension dialog box, specify these values:
- Mode
- Specify ="Light".
- Label
- Specify ="Input".
- Value
- Specify ="D6".
- Type
- Specify ="Search".
- Format
- Specify ="".
- Custom Symbol
- Specify ="".
- Maximum Lengths
- Specify ="".
- Precision
- Specify ="".
- Mandatory
- Specify ="False".
- Information
- Specify ="This is a search field.".
- Hint Text
- Specify ="Search database".
- Error Text
- Specify ="".
- State
- Specify ="Enabled".
- Dirty Flag
- Specify ="".
- Click OK.
- To create a text area, insert the Input web extension in the cell B9.
- In the Format Web Extension dialog box, specify these values:
- Mode
- Specify ="Light".
- Label
- Specify ="Textarea".
- Value
- Specify ="D9".
- Type
- Specify ="Textarea".
- Format
- Specify ="".
- Custom Symbol
- Specify ="".
- Maximum Lengths
- Specify ="".
- Precision
- Specify ="".
- Mandatory
- Specify ="False".
- Information
- Specify ="This is a text area.".
- Hint Text
- Specify ="Enter description".
- Error Text
- Specify ="".
- State
- Specify ="Enabled".
- Dirty Flag
- Specify ="".
- Click OK.
- Save and view the report in a web browser.