Hi All,
Can anyone shed light on where I might go about making changes to sData $template? I am trying to set IsPrimary and IsMailing to True as a default on the address $template. I'm also trying to default in a country etc....
Any guidance will be greatly appreciated.
Thanks ~ Chad
You set those in the entity events (like the OnCreate). You won't see them in the $template for the entity, but by omiting them in the data sent back the defaults will be set. Does that make sense?
It does indeed make sense. I set it in the OnCreate event and it actually did show up in the $template much to my delight. Unfortunately doesn't render in the new Mobile Client until the record is saved, which is probably what you were referring to.
Thanks much for the response.
It does indeed make sense. I set it in the OnCreate event and it actually did show up in the $template much to my delight.
Ah, I didn't think it showed up in the template. Very cool.