You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mmorton edited this page Aug 18, 2010
·
4 revisions
Templates
Mobile.SalesLogix.Template.nameLF
Formatting Functions
Remember, the first, and sometimes only, parameter is always the raw value. Some formatting functions take optional parameters, which can be easily applied using Ext’s Function.delegate method.
SalesLogix
Mobile.SalesLogix.Format.address
Mobile.SalesLogix.Format.phone
Uses the same rules as the current SLX web client.
Mobile.SalesLogix.Format.currency
NOTLOCALIZED
Mobile.SalesLogix.Format.date
NOTLOCALIZED
Accepts an optional DateJS format string as the 2nd parameter.
Mobile.SalesLogix.Format.fixed
Accepts an optional precision value as the 2nd parameter.
SDK
Sage.Platform.Mobile.Format.encode
Escapes HTML entities.
Sage.Platform.Mobile.Format.link
Sage.Platform.Mobile.Format.mail
Sage.Platform.Mobile.Format.trim
Also, all SDK format functions are also applied to the product’s Format object, i.e. Sage.Platform.Mobile.Format.link and Mobile.SalesLogix.Format.link are the same function.