IsFluidMode function

Syntax

IsFluidMode([Component.COMPONENT_NAME] [, Market.MARKET])

Description

Use the IsFluidMode function to return a Boolean value indicating whether fluid mode is enabled on the specified component. If neither optional parameter is specified, then the function operates on the current component.

Parameters

Parameter Description

Component. COMPONENT_NAME

Specifies the component ID as a string value.

Market. MARKET

Specifies the market ID as a string value. Alternatively, you can specify the %Market system variable (without the Market. reserved word).

Returns

A Boolean value.

Example

Function SetGroupletCRefData(&Portal As ApiObject, &CRef As ApiObject)
...

   If PORTAL_CREF_ADM.PORTAL_URLTYPE = "UPGE" Then
      If IsFluidMode(PORTAL_CREF_ADM.PNLGRPNAME, PORTAL_CREF_ADM.MARKET) = True Then
         &CRef.IsFluid = 1;
      Else
         &CRef.IsFluid = 0;
      End-If;
...