You need to sign in to do that
Don't have an account?
Shaka Moore
Add A Custom Button To The Case Page That Triggers An Outbound Message
Hi,
I would like to add a custom button to the case page that, when clicked, triggers an outbound message of the case's details.
How can I do this? Or is their a better solution to this problem?
I would like to add a custom button to the case page that, when clicked, triggers an outbound message of the case's details.
How can I do this? Or is their a better solution to this problem?
The alternative is to use straight Apex to make a callout and completely bypass the outbound message functionality. This could call a range of SOAP or REST APIs.
From there you can interact with external SOAP or REST web services. SOAP can use Wsdl2Apex. For REST you can use HttpRequest and HttpResponse.
You can host your own REST service in Apex with the example from Apex REST Basic Code Sample (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_rest_code_sample_basic.htm). This includes curl examples for calling the service.