Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Choice

dynamic_choice_command(field_name)

Decorator that can be used to register a dynamic choice command.

Parameters

field_name : str

the value specified must match the field name of the associated Dynamic Choice field in the Controller's Universal Template

Returns

None


Example
>>> @dynamic_choice_command("primary_choice_field")
>>> def primary_choice_command(self, fields):
>>>     # Implementation omitted


Command

dynamic_command(command_name)

Decorator that can be used to register a dynamic command.

Parameters

command_name : str

the value specified must match the command name of the associated Dynamic Command defined in the Controller's Universal Template

Returns

None


Example
>>> @dynamic_command("reset_environment")
>>> def reset_environment(self, fields):
>>>     # Implementation omitted
  • No labels