You need to sign in to do that
Don't have an account?
Parsing error: Unexpected token case
While creating a 'simple' Lightning QuickAction to update case date/time field I get this unexpected token case.
Many thanks on advance.
({ StartTiming: function(component, event, helper) { console.log('save:1'); var action = component.get("c.case"); action.setParams({"case": case }); } })Some help to overcome this would be great. Now the controller is not finished but I need to overcome this issue first.
Many thanks on advance.
The problem is case.
The solution could be: action.setParams({"case": component.get("v.case") });
But without seeing your controllers and your component, it is just a possibility.
All Answers
The problem is case.
The solution could be: action.setParams({"case": component.get("v.case") });
But without seeing your controllers and your component, it is just a possibility.
Where will the button of this quick action be located?
Regards
tot ziens!