IsGroupletRequest function

Syntax

IsGroupletRequest()

Description

Use the IsGroupletRequest function to return a Boolean value indicating whether the request was initiated by a grouplet, a tile, or a regular component.

Important:

Use this function within fluid applications only.

Parameters

None.

Returns

A Boolean value: True when the request was initiated by a grouplet a tile, otherwise, False when the request was initiated by a regular component

Example

If Not IsGroupletRequest() Then
   If Not &bUsePhoneLayout Then
      &chart.HighlightSelectedDataPoint = True;
      &chart.IsChartDrillable = True;
      &chart.IsDrillable = True;
      REM &chart.AdditionalStyleSuffix = "CHARTDRILL";
   End-If;
End-If;
If &bUsePhoneLayout And
      Not IsGroupletRequest() Then
   PTPG_NUI_CHTOPT.PTPG_GROUP_BOX1.FreeFormStyleName = "ptpg_chart_phone";
   PTS_SRCH.PTS_CHART_GB.FreeFormStyleName = "ptpg_chartarea_phone";
End-If;