This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

When does value template get triggered?

Hi,

We are working with Value Templates and would like to know under what all conditions does a template get triggered and where can we change that, if possible?

For example, the template for Person.CentralAccount makes use of Person.FirstName and Person.LastName. If the value of LastName for an employee is changed, the value for CentralAccount changes. Which means that the template for Person.CentralAccount is executed if LastName or FirstName is changed. Can we prevent the CentralAccount template from executing on change of FirstName and LastName? How can we do this?

Thanks for your help in advance.

Parents
  • Hi,

    I am facing similar problem in firing templates. I have extended the schema of a table and then wrote a custom template in the extended column. I am not referring to a attribute/column that is a immediate foreign table of the extended table. Instead i wrote a VB.Net script which create Connection.CreateCol of another table and have a business logic to pick the value from the result.

    In short, my template is not dependent on a foreign table's column directly. In this scenario, how can get my template triggered if there is a change in the value of referring Table's particular column.
Reply
  • Hi,

    I am facing similar problem in firing templates. I have extended the schema of a table and then wrote a custom template in the extended column. I am not referring to a attribute/column that is a immediate foreign table of the extended table. Instead i wrote a VB.Net script which create Connection.CreateCol of another table and have a business logic to pick the value from the result.

    In short, my template is not dependent on a foreign table's column directly. In this scenario, how can get my template triggered if there is a change in the value of referring Table's particular column.
Children
No Data