12.07.2015 Views

Open CTI Developer's Guide - Salesforce.com

Open CTI Developer's Guide - Salesforce.com

Open CTI Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Methods for <strong>Salesforce</strong> Application InteractiononObjectUpdate()var callback = function(response) {alert('Case was updated. Fields = ' + response.fieldsUpdated +' Related lists = ' + response.relatedListsUpdated + ' Feed = ' +response.feedUpdated);};//Invokes API methodsforce.interaction.entityFeed.onObjectUpdate(callback);ResponseThis method is asynchronous so it returns its response in an object in a callback method. The response object contains thefollowing fields:NamefieldsUpdatedrelatedListsUpdatedfeedUpdatedTypebooleanbooleanbooleanDescriptiontrue if one or more case fields were updated.true if one or more case related lists were updated.true if the case feed was updated.32

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!