function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC developer999SFDC developer999 

remote site settings and connected app

Please tell me the difference between remote site settings and connected app.

I guess :

* if we need to make out bound messages and call out API (SOAP/REST), we need to define the external url in remote site settings.
* If external systems need tpo connect to salesforce, we define them in connected app.

did I miss anything? 

Thanks
 
krishna dadikrishna dadi
Remote Site Settings:
  • Enables callout to external site (from Salesforce), when Site URL is added to remote site setting.
  • Example: For making callout to a external URL, it must be registered to remote site. Otherwise the call would simply fail.
Connected apps:
  • Used for making connection from outside to Salesforce.
  • Example: For accessing Salesforce from third party app, a connected app can be used by them to make a connection and access Salesforce.
Please mark  this as best answer if you found usefull so that others also will get benefit out of this.

Thanks
Krrish
sachinarorasfsachinarorasf
Hi,

Remote Site Settings: Whenever you want to access any external sites in your salesforce instance using webservices, callouts etc., you must have that in the Remote Site Settings.

Connected App: Used for making the connection from outside to Salesforce.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Sachin Arora
www.sachinsf.com