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
LinThawLinThaw 

Save only specific Field

Hi there,

Can we save only specific field of records in StandardSetController,
by using StandardSetController Save method.

Regards,
LinThaw
NagendraNagendra (Salesforce Developers) 
Hi LinThaw,

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

Mark this as solved if it's resolved.

Thanks,
Nagendra
LinThawLinThaw
Thanks Nagendra,
by using getSelectedRecords and save selected records with StandardSetController.save() is possible.
but I want to save only one field on selected records, maybe there is no way.
So, I will use another way e.g use other fields as formula fields.
Regards,
LinThaw