Timeline for How do I find out if a field is updateable by the System?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 1, 2018 at 19:43 | answer | added | Charles Koppelman | timeline score: 1 | |
Jul 31, 2018 at 9:00 | history | tweeted | twitter.com/StackSalesforce/status/1024218306990010368 | ||
Jul 31, 2018 at 2:25 | comment | added | Jigar Shah | Another approach although reactive but could be worthwhile considering is to execute an update within a try-catch and catching a DmlException in case it is not updateable and accordingly execute the further logic in the finally block. | |
Jul 30, 2018 at 21:42 | comment | added | Charles Koppelman |
Actually, it might be good enough for my current use case which just cares about reparentableMasterDetail
|
|
Jul 30, 2018 at 21:34 | comment | added | gNerb | I just played around and did some testing and I don't think the tooling API has what you need either. It seems to work like a normal describe call. | |
Jul 30, 2018 at 21:28 | comment | added | Charles Koppelman | @gNerb No thank you. This is a batch process that many non-admin users can launch. I still want to keep track of which user launched the batch process. Additionally, there are fields that my admin users may not update but others can. | |
Jul 30, 2018 at 21:26 | comment | added | gNerb | If you're doing it as a batch it should be running as an admin or API user with an admin profile. Using is updateable should work. If not even an admin can update it, clone it instead. Alternatively, you can look into using the tooling API. | |
Jul 30, 2018 at 21:04 | history | asked | Charles Koppelman | CC BY-SA 4.0 |