Timeline for "Unable to read Sobject" when passing LWC getRecord data to Apex
Current License: CC BY-SA 4.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jan 26 at 17:43 | history | suggested | Trang Oul | CC BY-SA 4.0 |
function param name corrected; indentation
|
Jan 26 at 12:47 | review | Suggested edits | |||
S Jan 26 at 17:43 | |||||
Aug 8, 2019 at 7:58 | history | edited | salesforce-sas | CC BY-SA 4.0 |
deleted 1 character in body
|
Aug 8, 2019 at 7:11 | history | edited | salesforce-sas | CC BY-SA 4.0 |
added 133 characters in body
|
Aug 8, 2019 at 5:50 | vote | accept | Robert Sösemann | ||
Aug 8, 2019 at 4:39 | history | edited | salesforce-sas | CC BY-SA 4.0 |
added 492 characters in body
|
Aug 8, 2019 at 4:04 | history | edited | salesforce-sas | CC BY-SA 4.0 |
added 2 characters in body
|
Aug 8, 2019 at 3:57 | comment | added | salesforce-sas |
@sfdcfox; @Robert Sosemann... :-) D, I added the answer yesterday night after my comment, but forgot to click Save Edits . (tiring day :-/)
|
|
Aug 8, 2019 at 3:56 | history | edited | salesforce-sas | CC BY-SA 4.0 |
added 806 characters in body
|
Aug 7, 2019 at 18:49 | comment | added | Robert Sösemann | @sfdcfox would you mind adding an answer with a code snippet on how to convert the wire data to something that can be passed to Apex which expects an SObject? | |
Aug 7, 2019 at 18:28 | comment | added | sfdcfox♦ | @RobertSösemann Array.prototype.map is what you would use to convert the days. It's really just a one-liner, although still annoying. | |
Aug 7, 2019 at 14:52 | comment | added | salesforce-sas |
As of now, I am not sure whether there is better approach than forming the required object in javascript with fieldname-value pairs using the data .
|
|
Aug 7, 2019 at 14:46 | comment | added | Robert Sösemann | Ok, what do we do then to get it into the right format? Does Salesforce really create LWC Data Services to reduce boilerplate code but then forget to convert the data so we have to write our own cumbersome JS code to convert structures? | |
Aug 7, 2019 at 14:33 | history | answered | salesforce-sas | CC BY-SA 4.0 |