Using Enumeration parameters in Helm Clockwork

Enumeration parameters let you give sensible operator-friendly names to numbers. Let’s go back to our router example to see this in action.

Select Helm Clockwork and click on (…) to edit the Event Types

media_1381483368235.png

select Enumeration as the parameter type

Click (…) to edit the values

media_1381483432980.png

Now add name – value pairs

media_1381483527251.png

name-value pairs are entered like this:

<name>=<value>

this applies everywhere in Helm where you are setting up enumerations.

Click Ok to exit the string editor and OK again to save the Event Type

Now run the panel and add the event to see this in action

media_1381483727878.png

Now instead of numbers the operator sees meaningful names. This is great way to make your panels easier to use and avoid potentially dangerous mistakes.

Event ready to run

media_1381483839195.png

Privacy Preference Center

Essential

These cookies are required for technical reasons in order for this website to work, for example in order to login as a registered user and to speed up load times.

gdpr,__cfduid,wf_loginalerted_,wfwaf-authcookie-,wordpress_logged_in_,wordpress_sec_

Performance

These cookies enable us to track and monitor the interests of visitors to our website. We use this information to better understand how our website is being used and improve the user experience.

_gat1,_ga,_gid

External content

When you visit some pages that contain videos hosted on external sites these sites will set temporary cookies to provide this content.

ASP.NET_SessionId