You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

he Salesforce connector will crawl content from any Salesforce Summer '16 (version 37). The connector will retrieve the supported elements using the SOAP API, and the user's chatter feeds using the REST API.

To see the current Salesforce version please check the follow link Salesforce Release Notes


The connector uses a queries file, the sQueries.xml is a template document from which the user can decide the fields to crawl:

  • Each SQueries.xml can be different for each Salesforce and is responsibility of the developer in charge of the installation of the connector to update or modify this document.
  • sQuieres.xml can use the SOQL TYPEOF, but this SOQL needs to be activated in the Salesforce environment.
On this page



Features


Some of the features of the Salesforce connector include:

  • Support for SalesForce Knowledge Base
  • Support for SalesForce Chatter
  • Ability to perform either full or incremental crawling (so that only new/updated documents are indexed)
  • Metadata extraction
  • Groovy Json Transformations
  • Is search engine independent
  • Runs from any machine with access to the given community
  • Fetches access control lists for normal object types (ACLs)
  • Custom metadata retrieval (Using SOQL)
  • Selectable elements types
  • Supports Windows/Linux/MacOS file systems


Content Retrieved


The Salesforce connector retrieves several types of documents, listed below are the inclusions and exclusions of these documents.

Include

  • Account
  • Campaign
  • Case
  • Contact
  • Contract
  • Chatter
  • Document
  • Group
  • Idea
  • Lead
  • Opportunity
  • Partner
  • Pricebook
  • Product
  • Profile
  • Solution
  • Task
  • User
  • Attachment
  • Knowledge Article
    • Draft Articles
    • Published Articles
    • Archived Articles

Exclude

  • App Launcher
  • Libraries
  • People
  • Macros
  • Dashboard
  • Data.com
  • Duplicate Records Sets
  • Reports
  • Site.com
  • Forecast
  • Streaming channels
  • Subscriptions


Limitations 


Due to API limitations, Salesforce connector has the following limitations:

  • We are using the getUpdated and getDeleted method from Salesforce API to perform the incremental request, but when you update an attachment from any item, that action will not be processed by the getUpdated or getDeleted API methods.


There is a request limitation in Salesforce API. Connector will give following error in case it occurs.

ERROR [/salesforce001/Main/Scanner]: SalesforceDSConnection.MaximumRetriesExceeded: 

[UnexpectedErrorFault [ApiFault  exceptionCode='REQUEST_LIMIT_EXCEEDED' exceptionMessage='TotalRequests Limit exceeded.'

Please see more information at API rate metering .

The chatter feed also has it's own limitations per User, per Hour and per Application, if the limit is reached produce this error:

2017-12-12T21:25:29Z ERROR [/SalesforceCS1/RAP]: Failed to read response for https://n46.salesforce.com/services/data/v37.0/chatter/feeds/user-profile/XXXXXXXXXXXXX/feed-elements?sort=LastModifiedDateDesc&density=AllUpdates&pageSize=30 retrieve from the server, Reason: 503 Service Unavailable

[ {

  "errorCode" : "REQUEST_LIMIT_EXCEEDED",

  "message" : "You have reached the Connect API's hourly request limit for this user and application.  Please try again later."

} ]

The exact limit is not available in the Salesforce official documentation, for more information please check the Salesforce documentation

Security related limitations

  • In security, we are only supporting 'Supported elements'.
  • For sharing related incremental crawling, unsharing of Salesforce item not working.
  • For incremental crawling of Salesforce task items, we are only supporting tasks based on accounts.
  • When there is a removal of sharing for a item (e.g removing sharing of an account) will not reflect in the incremental crawl.
  • Pricebook sharing ACLs are not supported.
  • We are only supporting Tasks those are based on accounts for incremental crawling.
  • No labels