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
sevindusevindu 

bind heirarchy custom setting to a inputfield in visualforce page

How to bind heirarchy custom setting to a inputfield in visualforce page?
NagendraNagendra (Salesforce Developers) 
Hi Sevindu,

May I suggest you please check with below link from the stack exchange community with a similar discussion which might help you further. Please let us know if this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra 
sevindusevindu
Oauth__c customsetting = Oauth__c.getOrgDefaults();

<apex:inputfield value="{!customsetting.ClientID__c}">

This approach is much better I think rather than having a variable and setting it to custom settings. This worked for me