Timeline for SOQL ContentDocument: Ids not returning
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 14, 2018 at 22:28 | history | edited | Adrian Larson♦ | CC BY-SA 3.0 |
deleted 13 characters in body; edited tags
|
Mar 14, 2018 at 19:54 | history | tweeted | twitter.com/StackSalesforce/status/974010855909134336 | ||
Mar 14, 2018 at 17:25 | answer | added | ZAR | timeline score: 4 | |
Mar 14, 2018 at 16:59 | answer | added | David Reed | timeline score: 3 | |
Mar 14, 2018 at 16:49 | comment | added | ZAR | @Gilhil I tried splitting the query, but in Apex when I query the ContentDocument with a specific id, it comes up empty... But if I run the SAME SOQL query in the SOQL Query editor, I get a result...?? | |
Mar 14, 2018 at 16:48 | comment | added | ZAR | Moving to a new org @DavidReed - has been a blast :) | |
Mar 14, 2018 at 16:44 | comment | added | David Reed | Are you aiming to move the notes/ContentDocuments to a different Salesforce org, or manipulate them in the same org? (I have some experience with the former). | |
Mar 14, 2018 at 16:30 | comment | added | Gilhil | I noticed the same with the content documents in 2015 already when i was testing some queries with the documents and feed items. In the end i just splitted the query and got the contentDocument where id=myId | |
Mar 14, 2018 at 16:26 | comment | added | ZAR | However, this can be bypassed on individual records via the contentdocumentlink query.... ugh | |
Mar 14, 2018 at 16:25 | comment | added | ZAR | Actually, it seems that this may be expected Salesforce behavior. According to the answers from this question (see end), Salesforce restricts even admins from pulling all contentdocuments via API (even though it is available via the webUI): salesforce.stackexchange.com/questions/2206/… | |
Mar 14, 2018 at 16:17 | history | asked | ZAR | CC BY-SA 3.0 |