permissions needed for DevRev to pull data from Salesforce
ART-15661_KNOWLEDGE_NODE-0
b'The key permission requirement for Salesforce Airdrop is the "View All Data" permission. This is important to note because:\n\nThe connection owner (the user performing the Airdrop) must have the "View All Data" permission in Salesforce.\n\nImportant distinction: There is a similar permission called "View Data", which is not sufficient - you specifically need "View All Data".\n\nWithout this permission, you may encounter sync failures, particularly when trying to extract comments or feed items
Salesforce permissions requirements
ART-2047_KNOWLEDGE_NODE-29
editions include **Enterprise**, **Unlimited**, **Developer**, and **Performance**. Additionally, the **Professional** edition is supported if API access has been purchased as an add-on.\n\n![]()\n\nTo ensure a successful import, it\'s important to verify that the Salesforce user has "View All Data" permissions, not to be confused with the "View All" permissions for individual objects.\n\n1. Go to **Settings** > **Integrations** > **AirSyncs** and select **AirSync** (or **Start AirSync** if
Salesforce AirSync | AirSync | Snap-ins | DevRev
ART-15679_KNOWLEDGE_NODE-2
permissions or mark that Apex class as "Without Sharing". As the [Salesforce documentation for FeedItems](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_feeditem.htm) states:\n\nIf you\xe2\x80\x99re using API version 23.0 or later and have View All Data permission, you can directly query for a FeedItem. The following example returns the 20 most recent feed items.SELECT ID, CreatedDate, CreatedById, CreatedBy.FirstName,
Why is ViewAllData permission needed for Salesforce imports
ART-17569_KNOWLEDGE_NODE-2
connection:\n\nOpen a Support Case w/ SFDC Support.\n\nAsk to have the API Access Control feature enabled\n\nOnce enabled, go to the system user in SFDC and select the appropriate profle/permission set and go to System Permissions.\n\nCheck the box that says "Use Any API client"\n\nThis is a setting that wouldn\'t be available without the API Access Control feature.\n\nRetry creating the connection after you\'ve completed the previous steps.'
Issues with Salesforce OAuth connection
ART-15679_KNOWLEDGE_NODE-0
b'We are querying FeedComments, which are tied to FeedItems - as you can see in this [diagram from Salesforce](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_erd_chatter.htm). In the query, we say "we want all FeedComments whose parent FeedItemId is in (all ids from FeedItem where the type is either CaseCommentPost or EmailMessageEvent)". However, when querying FeedItems Salesforce can complain that the query requires a filter by Id to work,
Why is ViewAllData permission needed for Salesforce imports
ART-15679_KNOWLEDGE_NODE-1
as is the error we get in the response: Malformed query,\xc2\xa0 FeedItem requires a filter by Id. To protect their own backend, Salesforce will not allow you to query the entire table unless you have permission to see absolutely everything that\'s in it or all the parent objects - as it makes no sense to show someone the comment to a case if they don\'t have access to cases.\n\nTo be able to query on the FeedItem table directly, we require one of the two: either you have ViewAllData
Why is ViewAllData permission needed for Salesforce imports
ART-15679_KNOWLEDGE_NODE-3
CreatedBy.LastName, ParentId, Parent.Name, Body,\n (SELECT ID, FieldName, OldValue, NewValue FROM FeedTrackedChanges ORDER BY ID DESC) \nFROM FeedItem \nWHERE CreatedDate > LAST_MONTH \nORDER BY CreatedDate DESC\n\nWithout the ViewAllData permission we cannot efficiently query the FeedItems.'
Why is ViewAllData permission needed for Salesforce imports