You need to sign in to do that
Don't have an account?
sonali verma
custom setting issue
Hi
I am just learning custom settings and here is my code.
I created a custom setting name as CustAccount and inserted 3 records having fields ID and Name, both are type Text.
Now I want to update single record at a time.
Please tell me how this can be achieved.
Thanks
sonali verma
I am just learning custom settings and here is my code.
I created a custom setting name as CustAccount and inserted 3 records having fields ID and Name, both are type Text.
public class customsettings { public List<CustAccount__c> code { get; set; } public customsettings() { code=CustAccount__c.getall().values(); } } <apex:page controller="customsettings"> <apex:form > <apex:pageBlock > <apex:pageBlockTable value="{!code}" var="a"> <apex:column value="{!a.Name}"/> </apex:pageBlockTable> </apex:pageBlock> </apex:form> </apex:page>
Now I want to update single record at a time.
Please tell me how this can be achieved.
Thanks
sonali verma
swati_sehrawat
When you say update, you want to update the custom settings?
sonali verma
yes, all the records
sonali verma
I used the <apex:inlineEditSupport and it worked.