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
smita bhargavasmita bhargava 

example on named credential

I am new to named credential concept in sfdc rest integration.
can anyone explain this with an example?

SandhyaSandhya (Salesforce Developers) 

I would suggest you refer saleforce help article on this
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.

Best Regards,
Hi Smita,

Named credentials is an another way to configure your endpoint and autorization settings such as username and password. Once you create a named credential, you no need to further create a remote site setting record as that named credential will do all jobs.

This is very helpful as you can manage multiple orgs being configured effectively using named credentials without making changes to another org. You can symply deploy it.

Follow below docs for concrete knowledge.