function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jshjsh 

API access to VIEWS

Hi,

I've been tasked with developing an app that grabs leads and contacts from our Salesforce data and I'm running into issues. I need to present our avilable views in a selector, then query for the results of the view and perform operations for rows (objects) returned.

I can query and work with Contact objects just fine, I'm stuck trying to access views.

Thanks in advance.

Spencer
SuperfellSuperfell
Sorry, the definitions of the views is not exposed in the API yet.
jshjsh
How about reports?

  Can I get a list of reports a user has defined, then generate the report and use the results?  I'm not sure I could get a Contact or Lead ID this way.

THanks,
Spencer
SuperfellSuperfell
Nope, no API access to reports, I'm sure Daroz will be around soon to point you to an unsupported answer to this.
MarkMMarkM

Paging Daroz, Paging Daroz.....

Cleanup in General Development.......

KrishOnanKrishOnan
http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/

:)
jshjsh
RE: http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports

I'm trying to retrieve reports using the method described above within php.  When trying to retrieve the URL for a given report, the return page is a redirection page, not the actual report page.  So how do you get the contents of the report?  I have set a cookie to the salesforce sid prior to making the call.

I've tried the file, and fopen commands to no avail.

Thanks in advance


jshjsh
Oh yea,  does anyone have a php example?