Related List:Attach Incoming SMS to a Record

[Back to Configuring SMS Magic]

Related List : Attach Incoming SMS to a Record

Received SMS can appear as a related list attached to any object. It can be also shown as a task in Activity history, you need to know some programming to configure this. (Refer Programmer’s Guide)

To show incoming SMS as a related list you have to follow two steps:

Step 1:

  1. Go to Setup > App Setup > Create > Objects
  2. Click “Incoming SMS”
  3. Go to Custom Fields and Relationships; click New. Choose the field type
  4. Go to Data Type “Look Up Relationship”, Select it.Choose the related object
  5. Select the other object (May be standard and Custom both) on which (Page Layout) you want Lookup on. (for e.g. we selected Contact)Enter the label and name for lookup field
  6. Click on “Field Name”. The “Field Label” content gets copied in “Field Name”.
  7. Check “Child Relationship Name”, it should be Incoming_SMS
  8. Select the field level access & click next.
  9. Add to the layouts required and click next.
  10. Now save it.

Now the lookup is created, you can see it under “Custom links and relationships” of “Incoming SMS”  object

 

Step 2:

If you have the standard Salesforce format i.e (123) 456-7890, then you can goto SMS Magic settings and follow the below mentioned steps.

However, If you have mobile numbers stored in different formats then you will have to write a custom trigger on incoming SMS that will pick up the mobile number from SMS and search it with various number formats present in your organization. An example of such trigger is present under http://screen-magic.com/resources/?page_id=133.

  1. Goto SMS Magic Settings –> Incoming Lookup Configuration –> new incoming_lookup_config
  2. Fill in the the object name, field name which stores mobile number & the lookup API name ( that was created in Step 1).

 

Now the incoming SMS’s will be attached to the contact record.

 

 

 

 

 

If you find this useful, say thanks by sharing it..
Share this :
Select