Posts Tagged "Write Apex Code"

Resolve Templates

Resolve Templates Class : TemplateResolver This class will help to render the templates by resolving the template text. In this class, there is one global method defined, using which one can render the resolved text of Template. Constructor Summary :...
Read More

Trigger for sending SMS on Lead update

Send SMS on New Lead Creation Salesforce does not allow any custom action on workflow rules. So, for implementing such workflow rules we can use triggers. Trigger for sending SMS on Lead update Below is an example, where SMS will...
Read More

PushSMSCallout

PushSMSCallout  This is API to send SMS. This will not create records of smsMagicObject inside your salesforce organization. PushSMSCallout used for sending bulk SMS.PushSMSCallout is not a future method and is it not mandatory method in order to send out...
Read More

Unique Key Generation

This is external field which sets unique key for each out going SMS, It is required field to send SMS. To generate unique key,  generateUniqueKey method is provided, it generates the unique key. We assign this key to the field “smagicinteract__external_field__c” of object smagicinteract__smsMagic__c....
Read More

Render Templates

Render Templates Class – TemplateEngine This class is help to render the templates. In this class, there are few methods are defined, using which one can render the text of Template. The methods are as follows:  Constructor Summary TemplateEngine (String templateText): Initialize the...
Read More

SMS Magic APEX APIs

All objects are a part of the managed package. As you know, every managed package has its own name space which is defined by  ”Namespace Prefix”. SMS Magic has 2 versions as follows :  According to your SMS Magic package:...
Read More

Objects in SMS Magic

Objects in SMS Magic Interact Incoming SMS API Name : smagicinteract__Incoming_SMS__c This is object which stores the information about the Incoming SMS to your SF org. SMS History API Name : smagicinteract__smsMagic__c This object all the information about the Outgoing SMS. SMS...
Read More