Tag: JSON

[Salesforce / RemoteAction] Using Date fields on a RemoteAction (PITA ALERT!)

I’ve just come through a bug on the Date field handling for Visual Force @RemoteAction. We want to pass to a remote action a list of SObjects to be handled correctly. This is the controller that hosts the @RemoteAction method: public class MyController(){ @RemoteAction public String doAction(List<contact> contacts){ return ‘All is ok!’; } } This […]