Klipfolio Dashboard API

Object Engines.SalesforceReports

Object
   |
   +--Klip
         |
         +--Engines
               |
               +--Engines.SalesforceReports

Advanced Feature This object is an advanced feature that is only available in the licensed, commercial version of Klipfolio Dashboard. Contact Klipfolio for further details.

The Engines.SalesforceReports object gives developers access to the CSV reports in Salesforce.com. The report to be used as the Klip's content source must be available for the user's account under the Reports tab of Salesforce.com in a browser.

While both this object and the Engines.Salesforce object provide you with methods to access data from Salesforce.com, note the following differences when considering which engine to use for your Salesforce Klip:

Engines.SalesforceReports
  • Does not require the Salesforce extension in Klipfolio Dashboard; therefore, Klips using this object can be added to any Klipfolio Dashboard build after version 5.2.1
  • Accesses the CSV reports under the Reports tab in Salesforce.com and does not use the API offered by Salesforce.com
  • The Login UI, if required, must be written using the available Klipfolio Dashboard APIs
  • Cannot send queries to the Salesforce.com database; therefore, reports must already be available under the Reports tab
  • Useful when you simply want to retrieve and display data from any of the available CSV reports under the user's accounts
Engines.Salesforce
  • Klipfolio Dashboard must have the Salesforce extension included in the application
  • Uses the Force.com API offered by Salesforce to access the data
  • Can be (but does not need to be) used in conjunction with the Engines.SalesforceLogin object to set up the login UI
  • Can send queries to the Salesforce.com database that are supported by the Force.com API
  • Useful when you want to include advanced functionality in your Salesforce Klip, such as the ability to change the status of a record

Since:
5.2.1


Properties Summary
 String lastError
          Advanced Feature Information about the most recent error.
 String lastErrorCode
          Advanced Feature The latest error code that was returned by the SalesforceReports engine.
   
Function Summary
 String getBaseAddress()
           Advanced Feature Gets the base address for Salesforce.com.
 String getErrorDetails()
           Advanced Feature Gets detailed information about the latest error and displays lastError, lastErrorCode and lastErrorDetail with labels in the Debug Window.
 String getReport( ReportURL )
           Advanced Feature Retrieves a CSV report from the provided URL.
 boolean isLoggedIn()
           Advanced Feature Checks whether the user is currently logged in.
 function login( <String> username, <String> password )
           Advanced Feature Logs into Salesforce.com using the specified user name and password.
 function logout()
           Advanced Feature Logs out of Salesforce.com.

Properties Detail

lastError

String lastError

lastErrorCode

String lastErrorCode

Function Detail

getBaseAddress

String getBaseAddress()

getErrorDetails

String getErrorDetails()

getReport

String getReport( ReportURL )

isLoggedIn

boolean isLoggedIn()

login

function login( <String> username, <String> password )

logout

function logout()

Klipfolio Dashboard API

© 2011 Klipfolio Inc. All Rights Reserved.