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
Rama Krishna 215Rama Krishna 215 

How to update column value displayed within VF page?

Hi Everyone,

Can anyone help i am new to salesforce working on  project for interview purpose.

Scenario: I have input data for a field in JSON format so i have to deserilize the data display in separate colums and able to update  changes made to those coulmns back to record.I am able to display as shown below image.

How to update those columns data save back to field in JSON format?

JSON Input : {"AttributeName":"Color","AttributeValue":"Red","ProductName":"iPhone X","ProductCode":"iPhone X"}

User-added image

 
Deepali KulshresthaDeepali Kulshrestha
Hi Rama Krishna,

I went through the query of yours regarding updation of column values on vfpage.
Please refer tot he following links as they are helpful in solving your problem:

https://developer.salesforce.com/forums/?id=906F00000005J18IAE
http://forceforte.com/how-to-update-particular-record-in-visualforce-page/
https://trainingrocket.atlassian.net/wiki/spaces/DOCS/pages/184221820/Using+Salesforce+Class+and+Visual+Force+pages+to+display+desired+object+results

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

Thanks and Regards,
Deepali Kulshrestha