Method to read Text File from static resource.
public String textFromSomeUniqueName { get { StaticResource sr = [ select Body from StaticResource where Name = 'SomeUniqueName' ]; return sr.Body.toString(); } }
An effort to bring a revolution in Salesforce.
public String textFromSomeUniqueName { get { StaticResource sr = [ select Body from StaticResource where Name = 'SomeUniqueName' ]; return sr.Body.toString(); } }
CASE( MOD( datevalue(createddate) - DATE(1900, 1, 7), 7), 0, "Saturday", 6, "Sunday", "Weekday")
© Salesforce 2016 . Distributed by Blogger Template . Created by Weblogtemplates