How can I access template properties from a Commands extension. Basically I want to modify the value from a editor where you can select the value from a list of values.