« Back to Product

Documentation

IPS_GetPresentationForm

Require: Symcon >= 8.0

 string IPS_GetPresentationForm (string $PresentationID, int $VariableType, array $Parameters) 

Parameters

PresentationID

The ID of the presentation, formatted as GUID

VariableType

The type of variable whose form is to be returned

Parameters

The parameter list to be used for the form. It must not be empty and must contain the parameter PRESENTATION.

Returns

The form of the described presentation as a JSON-encoded string.

Description

The function returns the form for the presentation PresentationID, taking into account the VariableType and the Parameters.

Example

IPS_GetPresentationForm('{6B9CAEEC-5958-C223-30F7-BD36569FC57A}' /* Slider */, 1 /* Integer */, ['PRESENTATION' => '{6B9CAEEC-5958-C223-30F7-BD36569FC57A}', 'MIN' => 0, 'MAX' => 100]);
Any questions?