Ask Search:
Mahesh RaghuramanMahesh Raghuraman 
Hi Techies,

I am building a simple REST inbound API and sending some Contact record as JSON response. In @HttpGet, I simply return contact record, now how can I send Headers info. alone with this response?

Any suggestion is greatly appreciated.
Best Answer chosen by Mahesh Raghuraman
Anuj YadavAnuj Yadav
Hi Mahesh,
You can use standard RestResponse Class and can send the header information in the properties. For  more information visit the link https://developer.salesforce.com/docs/atlas.en-us.194.0.apexcode.meta/apexcode/apex_methods_system_restresponse.htm

Thanks,
Anuj
www.mirketa.com
Joey MercorellaJoey Mercorella 
In the Salesforce system, there is a custom object that is called "Lead" with the API name "Lead__c" that cannot work with SMS Magic to send SMS through the customised button. It works with the custom object "Custom_Opportunity__c".

From SMS Magic's technician's explanation, the custom lead should not use the same name as the standard object and they wanted us to change the API Name. However, it has been working for a long time in the system and if we change it, our daily work cannot progress normally. (There are hundreds of customised features and code linking to that custom object, the de-reference and re-reference process will take too long time for us.)

Actually the Standard Lead's API name is "Lead" while the custom lead's API name is "Lead__c". I have no idea why SMS Magic could not make it work. Is there anyone with good idea to make it work?

Thanks a lot.
Best Answer chosen by Joey Mercorella
Vinay ChaturvediVinay Chaturvedi
Hi Joey,
I won't recommend you to change the API name in any case if you are using it in different functionalities as well.
As to bring new functionlity in salesforce ecosystem will require a lot of rework and regression testing -and hence a not recommended approach.
Now if the SMS Magic represntative has mentioned that you cannot keep same name for both of them,then please check with them that are they talking about API name or Label?
Because in your case although the label would be same but not API names.
And if they confirm for API name,then for sure then they should be able to solve this issue.
Hope this helps!!
Thanks
Vinay
Toru KaiedaToru Kaieda 
Hello, 

Has anyone experienced issues sending app inbox messages in Journey Builder?   I've set up a few mobile push interactions in the Journey Builder.  When I ran tests on the Journey, I'm able to receive mobile push alerts, but not inbox messages.   I am, on the other hand, able to receive both alerts and inbox messages without any issues when messages are set as "scheduled," and not as "Interaction."  Problem seems to occur only when messages are sent in Journey Builder.    Does anyone have solution for this issue? 
Best Answer chosen by Toru Kaieda
Toru KaiedaToru Kaieda
Just got a response from support.  They are saying that App Inbox Messages dont work in the Journey Builder despite of what their sales team told in the presales talk.  It is also contradictory to what it says on their help page.    Very dishonest.  Watch out if you are using SMC for your mobile app solution. 

https://help.salesforce.com/articleView?id=mc_mp_create_and_send_an_inbox_message.htm&type=5
User-added image
 
Julien WagnerJulien Wagner 
Hi,

Everything is in the title. It works just fine with an iPhone, but it doesn't work with an iPad, even though the ability to send sms from the iPad is activated.

Thanks in advance.
Best Answer chosen by Julien Wagner
Dnyaneshwar AghawDnyaneshwar Aghaw
Send SMS messages in Salesforce for Android and iOS
Knowledge Article Number000240916

DescriptionSalesforce for Android and iOS users are  able to send SMS text messages from the Accounts, Contacts, Leads, and Person Accounts Objects with an formatted phone number.  

By default, the action is included at the end of the Salesforce for Android and iOS and Lightning Experience Actions section on the object’s page layout.

Resolution
Considerations for sending SMS messages in Salesforce for Android and iOS
Users are able to send texts from the one.app browser version on mobile devices but not when emulating from a desktop.
A listed phone number must be available on the page layout and contain a valid number for the SMS action to appear.

Admins can remove the action from page layouts if needed to prevent this feature to end users.
Sent text messages are currently not save in the activity history of the record.
The Send Text Action is limited to only phone fields much like the Call Action.
*** This action does not work in Ipad at this time.due to limitations with SMS messaging via IPad.
John FelixJohn Felix 
I'm not sure whether is this the right place to ask this query. Is there any way to connect external API to send SMS from Salesforce Marketing Cloud.
Best Answer chosen by John Felix
Ashutosh TripathiAshutosh Tripathi
Hi John,

Although there is no default functionality in Salesforce to send SMS, there are some apps in the appexchange which can send SMS

Just search for the keyword 'SMS' in the appexchange.

https://appexchange.salesforce.com

If you have a third party SMS subscription, then you would have to write your own code for apex callouts or outbound messaging, but first have a look at the appexchange apps.

You can check image screen Send SMS using APEX API (http://www.screen-magic.com/send-sms-using-api/)

If you want to build your own using apex then check this below resource links contains the example with code:
http://www.clintslee.com/2010/07/19/send-sms-from-salesforce-build-your-own/

Here's is rest api example for that:
https://salesforce.stackexchange.com/questions/54297/how-do-i-send-smses-from-salesforce

I would suggest to check the appexchange app first which easy and point-click but if your specially looking for code then you have lot of options as I shared above.

I really appreciate your time to make this post here but I would like to inform you that this community is focused on help with declarative configuration changes and non-programmatic solutions.

You have a better chance of getting relevant answers if you post it on one of the following forums [lots of talented developers out there who must have worked on similar problems before.

StackExchange [http://salesforce.stackexchange.com]
Official Developer Forum [https://developer.salesforce.com/forums]

For any configuration changes and point and click design solutions, feel free to post in this community and we will be glad to help you out. 

Hope this helps. 

Good luck!!
Alaa AljelaniAlaa Aljelani 
Dears,
I really need your help in understanding the integration between SMS gateway and salesforce.
I'm not personally familiar with it. As I haven't done before.

How can I integrate them via API? how to do this?

If anyone can give me a detailed overview about it.
Best Answer chosen by Miglena (Salesforce.com) 
John MitchellJohn Mitchell
This is a big question. 

Exhaustive documentation regarding Salesforce's APIs can be found here: https://developer.salesforce.com/page/Salesforce_APIs

I do not have information regarding SMS gateway or their API structure.

You may be better served to ask this question on the developer community (developer.salesforce.com) as this answers community is primarily focused on configurable solutions without code.
Best Answer chosen by Patricia Manlapat
Poulami BhandariPoulami Bhandari
To set up keyword based mobile ot-in for your account, follow this:
https://help.salesforce.com/articleView?id=mc_moc_mobile_opt-in.htm&type=5
Tarjani PilkingtonTarjani Pilkington 

What are the different options to send a text message via Salesforce?  Any thoughts on app vs ability to use Salesforce functionality

Best Answer chosen by Tarjani Pilkington
Ashutosh TripathiAshutosh Tripathi
Hi Tarjani,

Although there is no default functionality in Salesforce to send SMS, there are some apps in the appexchange which can send SMS

Just search for the keyword 'SMS' in the appexchange.
https://appexchange.salesforce.com/results?type=Apps&keywords=sms

If you want to integrate using REST then please check the below resource links having sample code for it.
https://salesforce.stackexchange.com/questions/54297/how-do-i-send-smses-from-salesforce

You can also use Zapier, check this out how to integrate SMS using Zapier:https://zapier.com/zapbook/salesforce/sms/

So either you have to go with the appexchange apps or custom code. I would suggest to use any app exchange app, that is easy to install and use.

You can also reach out to the package provider in case of any issue.

Choice is yours.

Good Lcuk!
Raul Cañada MoyanoRaul Cañada Moyano 
Does anyone knows how to get the SMS tracking using SOAP API. I am able to get the messages sent using the SMSMTObject but I am not able to retrieve the status of the SMS message.

SoapClient.retrieve(
  'SMSMTEvent',
  ["EventDate", "Carrier", "ObjectID", "Subscriber.ID", "Subscriber.SubscriberKey", 
    "SMSTriggeredSend.SmsSendId", 
    "SMSTriggeredSend.SMSTriggeredSendDefinition.ObjectID", 
    "SMSTriggeredSend.SMSTriggeredSendDefinition.CustomerKey"],
  options2,
  function( err, response ) {
    if ( err ) {
      // error here
      console.log( err );
      return;
    }

What I need is the status of the message: (Delivered, undelivered, etc...) but I am not able to find the object of property to get this data.

Thanks in advance
Raul
 
Best Answer chosen by Miglena (Salesforce.com) 
Jeff MayJeff May
This Answers Community is focused on configuration and design questions. Programmatic questions are best submitted to the developer forums at https://developer.salesforce.com where the forums and participants are geared toward programming troubleshooting and support.
Aaron BeattyAaron Beatty 
Hello trailblazers!

I'm trying to track down some documentation to help us configure a new MobileConnect instance.  The help.marketingcloud.com pages have a bit of information on using the tool once it is configured, but I'm looking for documentation and/or a workbook to help us configure MobileConnect.  Anyone have any resources that might help?

-Aaron
Best Answer chosen by Aaron Beatty
Nicole PomponioNicole Pomponio
I was able to find this link, it has getting started and account administration, importing contacts and creating and managing messaging - https://help.marketingcloud.com/en/documentation/mobileconnect/getting_started_with_mobileconnect/