I have 2 questions regarding using template.
1.When should I use template.In what flows or cases?
2.I saw that when template is applayed values from template are set in the extension
elements,is there any way to do the opposite :set values from extension elements in template? or is there way to set values from template dynamically by code (same way I can do for extension elements)