{}

Vores varemærker

Impact-Company-Logo-English Black-01-177x54

Velkommen til Schneider Electrics website

Velkommen til vores website
Hvordan kan vi hjælpe dig i dag?
How to pass mimic parameters in in a hyperlink
DISCLAIMER

The example below is intended to demonstrate one or more features or methods and is presented as a configuration example only. Schneider Electric assumes no liability for the use or application of this example or any portion thereof.

Mimic parameters can be passed via hyperlink. The format for passing a value to a parameter in a mimic is the following:

SCX:////CMimic/.MimicName#Param1="Value of first parameter"&Param2="Value of second parameter"

where:

SCX:////CMimic/.MimicName is a reference to the mimic that is being called and contains the parameters;
#Param1="Value of first parameter" is the name of the first parameter, followed by the value enclosed in double quotes. The first parameter name is always preceded by the hash (#) character;
&Param2="Value of second parameter" is the name of the second parameter, followed by the value enclosed in double quotes. From the second parameter on, the parameter name is always preceded by the ampersand (&) character;

Note: If the parameters are going to be used in mimic script that runs when the user navigates to the mimic, use them in the "Mimic_Navigate" sub-routine, not the "Mimic_Load" one:

Public Sub Mimic_Navigate
MsgBox Mimic.Parameters.Param1
End Sub

Schneider Electric Danmark

Se mere
Område:
Artikler som kan være nyttige
Se mere
Område: