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.
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
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.
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!!
I am trying to send SMSs using Mobile Connect within Marketing Cloud, but I find out that there is no short or long code registered in my Marketing Cloud instance. How can I set up a short or long code for SMS sendings? Do I have to ask my account representative to activate them?
When beginning the code acquisition process, it is helpful to know the countries you would like to send to, the use cases you would like to complete and the size of your potential audience. Countries have different requirements based on what type of messages your audience will receive.
I want to send sms when the new order is created in salesforce but i don't want to use third pary apps. Can i send SMS from salesforce using Skype credit.
i.e Australia : +61+mobile number
For example, to convert a US phone number (415 599 2671) to E.164 format, one would need to add the ‘+’ prefix and the country code (which is 1) in front of the number (+1 415 599 2671). In the UK and many other countries internationally, local dialing requires the addition of a 0 in front of the subscriber number. However, to use E.164 formatting, this 0 must be removed. A number such as 020 7183 8750 in the UK would be formatted as +44 20 7183 8750.
we are trying to setup our Mobile Connect environment. We need a solution to track Undelivered SMS so we stop sending sms to phone numbers unused.
We have implemented the solution documented here : http://help.exacttarget.com/en/documentation/mobileconnect/reviewing_message_activity_in_mobileconnect/retrieving_information_on_undelivered_sms_messages_for_mobileconnect/
But it doesn't seems to work correctly.
Has anyone implemented a solution to track undelivered SMS ?
When we started using the solution above to track the undelivered sms the dataextension was allways empty. After checking with the support, it was a problem with the mobile connect solution that causes some undesired results.
Now after some more testing i can confirm that this solution works very well.
In Desktop version, it is DD-MM-YYYY, can the same be set in Mobile Version as well?
R&D is working to fix this so that US locales will display the format as mm/dd/yyyy and international formats display as dd/mm/yyyy in order to avoid confusion. It's know issue here (https://success.salesforce.com/issues_view?id=a1p300000008YdsAAE)
How do we track if a link sent via SMS is clicked or not so that we can make further decision in the journey?
I've noticed that you started a support case about this question and wanted to share the information provided by the support agent to benefit others in the community with similar questions.
The support agent advised that at this time, there is no function to track links within Mobile Connect. Due to the nature of SMS messages, the entire link must be displayed, rather than a clean looking HTML link. Because of this, there is no 'built in' report for tracking the links.
He also shared that it would be possible to implement your own custom type of tracking if desired. For example, it would be possible to build a query string into the link which captures the mobile number %%Mobile_Number%% and then have your own analytics track it.
Hope this information has been helpful!