Timeline for Update Custom Metadata with Apex in my org
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 1, 2023 at 20:10 | comment | added | Arthlete |
Above code will not work for an update of a record. In particular this line customId.field = 'Id'; throws an error saying "Invalid field: Id". In order to update one needs to use Metadata.Operations.retrieve() method provided by Salesfroce.
|
|
Dec 1, 2023 at 3:22 | history | edited | Arthlete | CC BY-SA 4.0 |
typo
|
Apr 25, 2023 at 12:52 | comment | added | vaibhav | Will you please suggest this by creating a method that will accept the API name or required values as a parameters to update the metadata ..this will bring more usability of this code ..anyway nice try. | |
S Apr 1, 2021 at 10:53 | history | suggested | CommunityBot | CC BY-SA 4.0 |
Formatted the answer
|
Apr 1, 2021 at 6:44 | review | Suggested edits | |||
S Apr 1, 2021 at 10:53 | |||||
Dec 28, 2020 at 22:34 | review | Late answers | |||
Dec 28, 2020 at 23:03 | |||||
Dec 28, 2020 at 22:19 | vote | accept | Tyler Zika | ||
Dec 28, 2020 at 22:18 | review | First posts | |||
Dec 29, 2020 at 1:05 | |||||
Dec 28, 2020 at 22:14 | history | answered | Sean Gray | CC BY-SA 4.0 |