Timeline for "Field User.LastPasswordChangeDate is inaccessible in this context" when running 'Schema.sObjectField.getDescribe()'
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 11, 2018 at 12:12 | review | Low quality posts | |||
Jan 11, 2018 at 14:42 | |||||
Jan 11, 2018 at 12:05 | comment | added | Keith C |
Ok. But its a User object field mentioned in the error message not a custom object that has a namespace...
|
|
Jan 11, 2018 at 12:04 | comment | added | Arvind Tyagi | namespace enabled, the API v34.0 requires the namespace prefix for the describe calls. It's interesting the fact that adding the namespace prefix to the field worked in all versions (from 26 all the way to the current version), but trying to describe the field without the namespace prefix only worked until v33.0. | |
Jan 11, 2018 at 11:59 | comment | added | Keith C | Well the OP is getting an error message that it doesn't for their profile/package licenses/etc. How do you explain that? | |
Jan 11, 2018 at 11:56 | history | edited | Tushar Sharma | CC BY-SA 3.0 |
added 2 characters in body
|
Jan 11, 2018 at 11:49 | history | answered | Arvind Tyagi | CC BY-SA 3.0 |