• Nikitha V Kumar
  • NEWBIE
  • 0 Points
  • Member since 2020
  • Salesforce Developer


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi team,
We have written a Webservice callout using Rest Service using below link.
https://trailhead.salesforce.com/en/content/learn/modules/apex_integration_services/apex_integration_rest_callouts
What we want to do is pass information to Mulesoft in JSON format.

Mulesoft team has provided us below info:
EndPoint URL
Client ID
Client Secret

How do I use the above 3 in my code to connect to Mulesoft.

Regards,
Indra
I have two function which needs to be called from one button. Currently I am doing this by creating two button one "Confirm" and another "Save". but I don't want two button I want only one button "Save", on click of Save first the method called by "Confirm" button should be called and then the method called by "Save" button.

Below is my code:
 
<apex:commandButton value="Confirm" action="{!save}"/>   
<apex:commandButton value="Save" action="javascript:top.window.opener.closeFunction()" ></apex:commandbutton>