Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 28, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: sData $template set defaults values
Chad Morton
Posts: 8
 
sData $template set defaults valuesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jul 11 4:18 PM
fiogf49gjkf0d

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

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: sData $template set defaults valuesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jul 11 4:44 PM
fiogf49gjkf0d

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?

[Reply][Quote]
Chad Morton
Posts: 8
 
Re: sData $template set defaults valuesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jul 11 8:46 PM
fiogf49gjkf0d

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.

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: sData $template set defaults valuesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jul 11 9:40 PM
fiogf49gjkf0d

Quote:
Originally posted by Chad Morton


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.

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/28/2025 5:32:42 PM