Skip to end of banner
Go to start of banner

silreporting_createCheckbox

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Syntax

silreporting_createCheckbox(label, options, defaultValue)

Description

Creates a checkbox in the gadget report parameters section.

Parameters

Parameter name

Type

Required

Description

label

string

Yes

Label of the field.

options

SILReportingOption []

YesList of selectable options.

defaultValue

string

Yes

Default value or an empty string.

Return type

The returned value has no meaning.

Example

SILReportingOption [] options;

SILReportingOption p1;
p1.name = "cdev";
p1.value = "CDEV";
p1.label = "Custom Development";

SILReportingOption p2;
p2.name = "prdt";
p2.value = "PRDT";
p2.label = "Products";

options += p1; 
options += p2;

silreporting_createCheckbox("Project", options, "CDEV");

  • No labels