You are here

function hook_salesforce_api_post_export in Salesforce Suite 6.2

Same name and namespace in other branches
  1. 7.2 salesforce_api.api.php \hook_salesforce_api_post_export()

Called after a Salesforce create or update attempt.

Parameters

string $sf_object:

string $name:

string $drupal_id :

object $salesforce_response: The response object from the Salesforce SOAP server. This object has three properties:

  • errors: A single error array, or an an array of one or more errors with three keys:

    • fields: A single field name, or an array of one or more field names
    • message: A human readable failure message
    • statusCode: A machine readable failure code
  • id: If there was no error, the Salesforce id of the touched object.
  • success: boolean

Return value

void

See also

hook_salesforce_api_pre_export

1 function implements hook_salesforce_api_post_export()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

sf_queue_salesforce_api_post_export in sf_queue/sf_queue.module
Implements hook_salesforce_api_post_export
2 invocations of hook_salesforce_api_post_export()
sf_node_export in sf_node/sf_node.module
Exports a node to Salesforce using the specified fieldmap and stores the ID of the Salesforce object for the node.
sf_user_export in sf_user/sf_user.module
Exports a user to Salesforce using the specified fieldmap and stores the ID of the Salesforce object for the user.

File

./hooks.php, line 247
These are the hooks that are invoked by the Salesforce core.

Code

function hook_salesforce_api_post_export($sf_object, $name, $drupal_id, $salesforce_response) {
}