Is there any way to give control of certain parameters (that are used in the execution of the fixlet) to administrators without requiring them to alter the fixlet action script?
For example, the fixlet I’m using executes a script that it needs to pass a hostname. Obviously this hostname will differ for each customer. How can I ‘set’ this hostname somewhere in the console without having to modify the fixlet?
ActionScript has a concept of substitution parameters to dynamically replace data.
For your situation above, the “action parameter query” statement might be useful.
It allows the admin to manually enter a parameter as an Action is being taken.
Here is an example:
action parameter query “ScreenTimeOut” with description “Please enter the time, in seconds, a computer may remain idle before the screensaver is activated (i.e. 600 = 10 minutes)” with default value “600”
regset “” “ScreenSaveTimeOut”="{parameter “ScreenTimeOut” of action}"
This Windows CHM help file is a good reference source for the above: