Custom Property to hold static value for use in Fixlet Relevance

(imported topic written by wolf35991)

I am writing a custom Fixlet which will install a software package onto an endpoint. Part of the configuration of the software package (which is an agent) is to update the config file to include the servername/IP of the management server to which the agent should register.

Ideally, I would like to define a custom property within IEM which will store this servername/IP, and then to reference this in my custom Fixlet. In this way, that servername/IP only needs defining once, centrally, and whenever the custom Fixlet is executed it will source the value of the custom property.

I am aware that I can use the “parameter” option within the fixlet, to request this information from the operator when they take the action. However, I would prefer not to use this, and to source this data from a property.

Is this possible?

(imported comment written by gearoid)

Is the value is always the same ?

If so why do you need to have it defined in this way and not have it set within the fixlet ?

You can use parameter to set a value within the fixlet and it will not prompt the user, this creates a parameter foo with value bar.

parameter “foo” = “bar”