I can get a case like this: This returns I would like to update Document_No__c to myString I was expecting to be able to change this to a patch and add the payload like this: However this is returning the error: Answer I needed to point to the right end point, as well as use @Tanaike’s change to the payload.
Tag: salesforce
Is there a way to pass multiple (and different) parameters to an Apex Controller class from JS in Lightning Web Components (LWC)?
I’m currently stuck at a problem and was hoping someone here could help me. I also certainly hope this is the right place to ask it. I’m trying to create a custom Invoice record with its corresponding Invoice Line records upon firing an event. I already have some logic in place to gather ID of selected rows in the JS.
Convert ISO Date to UTC Time using JavaScript
I have an ISO Date string and using Javascript, I’d like to extract the time from it. How can I turn 2016-07-02T19:27:28.000+0000 into 7:27 pm? I have tried Date.Parse with little success Answer You can use moment.js, it´s the best date library I have worked with.