Official Content

It is possible to set parameters to the Dashboard object when instantiated and use them anywhere in the widget properties.

Use the Parameters section within the Dashboard editor to define them.

image_2019321163216_1_png

The parameter passing must be set from the caller object using the DashboardViewer control. The syntax is as follows:

DashboardViewer1.Object = DashboardObjectName(&Parm1, &Parm2, ..., &ParmN)

Properties

The properties where parameters can be used are the following:

(1) - in addition to accepting a parameter; it also accepts a string that contains one or more parameters, for example: "&Surname, &Name".

Sample

Event Start
    &StartDate = &Today - 30
    DashboardViewer1.Object = Statistics(&StartDate)
Endevent

Availability

This property is available since GeneXus 16 upgrade 3.



Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant