Deprecated: Assigning the return value of new by reference is deprecated in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 248

Strict Standards: Non-static method GoogleSitemapGenerator::Enable() should not be called statically in /home/warped/public_html/sfdc-heretic/wp-content/plugins/sitemap.php on line 2452

Warning: Cannot modify header information - headers already sent by (output started at /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php:248) in /home/warped/public_html/sfdc-heretic/wp-commentsrss2.php on line 8
Comments on: Progmatic Access to Salesforce.com Reports http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/ The Salesforce Heretic - Pushing the limits of On-Demand CRM Tue, 26 Sep 2017 10:44:37 +0000 http://wordpress.org/?v=2.0.4 by: Ryan http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-25885 Mon, 14 May 2007 18:57:52 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-25885 Has anyone figured out how to determine the datatypes of the results or sources (entities) from which the reports are derrived? Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

Has anyone figured out how to determine the datatypes of the results or sources (entities) from which the reports are derrived?

]]>
by: Christopher http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-9233 Wed, 24 Jan 2007 10:15:36 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-9233 Been working on this again and would like to add the url to get the printable view. All you need to do is add excel=1. e.g. https://na1.salesforce.com/00O30000000xxxx?excel=1 Make sure your browser has the correct permissions Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

Been working on this again and would like to add the url to get the printable view. All you need to do is add excel=1.

e.g.
https://na1.salesforce.com/00O30000000xxxx?excel=1

Make sure your browser has the correct permissions

]]>
by: SalesForceWatch.com http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-1802 Wed, 23 Aug 2006 20:15:14 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-1802 <strong>Report Scraping...</strong> Back in April, the Salesforce Heretic, wrote up a method to programatically pull data out of Salesforce.com reprots (covered here). Gareth Davies, founder and CEO of Upside-Outcomes (covered by Salesforce here), recently sent me a note that he created ... Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

Report Scraping…

Back in April, the Salesforce Heretic, wrote up a method to programatically pull data out of Salesforce.com reprots (covered here). Gareth Davies, founder and CEO of Upside-Outcomes (covered by Salesforce here), recently sent me a note that he created …

]]>
by: LaurentM http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-1090 Fri, 04 Aug 2006 07:08:47 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-1090 I try to get XML document but each time, i have the following exception : Server returned HTTP response code: 500 for URL: https://na1.salesforce.com/servlet/servlet.ReportList. However i have had the cookie named "sid" with my SessionId as value. I have verified that cookie is well registered in my browser. When i go to this url when i'm logged i can see the XML document in the browser. I think it's a problem with my cookie. Someone can help me please? Thanks Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

I try to get XML document but each time, i have the following exception : Server returned HTTP response code: 500 for URL: https://na1.salesforce.com/servlet/servlet.ReportList.
However i have had the cookie named “sid” with my SessionId as value. I have verified that cookie is well registered in my browser. When i go to this url when i’m logged i can see the XML document in the browser.

I think it’s a problem with my cookie.
Someone can help me please?
Thanks

]]>
by: heretic http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-1054 Wed, 02 Aug 2006 15:43:53 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-1054 Tinman44 - Unfortunately I don't use JS internally to access the document, but I belive that if the user is actually logged into the UI the cookie should be set automatically for the outbound XMLRequest. I could be wrong. passtu - Not that I'm aware of, and that's something I'd be highly surprised to see exposed. My impression is that the only reason this information is exposed is because it is needed for the SFDC Excel plugin. Because that tool doens't need to know the information at that detail, it's probibly not exposed. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

Tinman44 - Unfortunately I don’t use JS internally to access the document, but I belive that if the user is actually logged into the UI the cookie should be set automatically for the outbound XMLRequest. I could be wrong.

passtu - Not that I’m aware of, and that’s something I’d be highly surprised to see exposed. My impression is that the only reason this information is exposed is because it is needed for the SFDC Excel plugin. Because that tool doens’t need to know the information at that detail, it’s probibly not exposed.

]]>
by: passtu http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-1043 Tue, 01 Aug 2006 18:53:45 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-1043 The article is very helpful. Thanks for sharing, heretic. However, the csv format data is not enough for me. I want more lower level information, such as "query string used to generate the report", "name of tables and columns and conditions used to generate the report", etc. Is it possible for me to access these infomation from some URL? Thanks in advance. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

The article is very helpful. Thanks for sharing, heretic.
However, the csv format data is not enough for me. I want more lower level information, such as “query string used to generate the report”, “name of tables and columns and conditions used to generate the report”, etc. Is it possible for me to access these infomation from some URL?
Thanks in advance.

]]>
by: Tinman44 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-967 Thu, 27 Jul 2006 18:52:06 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-967 So at the risk of sounding like a total newbie how would you go about doing that? I have my cookie set on my page. I am just falling down at how I would "send that cookie": sforceClient.login('user','password'); document.cookie = "sid=" +sforceClient.sessionId; then how do I get it in the XMLhttpREquest? Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

So at the risk of sounding like a total newbie how would you go about doing that? I have my cookie set on my page. I am just falling down at how I would “send that cookie”:

sforceClient.login(’user’,'password’);
document.cookie = “sid=” +sforceClient.sessionId;

then how do I get it in the XMLhttpREquest?

]]>
by: heretic http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-966 Thu, 27 Jul 2006 18:29:39 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-966 Tinman44 -- It looks like you are just setting an HTTP header with the sid in it... What you need to do is set a cookie and send the sid as a cookie (named sid). Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

Tinman44 — It looks like you are just setting an HTTP header with the sid in it… What you need to do is set a cookie and send the sid as a cookie (named sid).

]]>
by: Tinman44 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-964 Thu, 27 Jul 2006 17:30:36 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-964 I love the info! However I am having some issues setting the SID in my XMLHttpRequest call. Wondering if you can give me some pointers? http2.open('get', 'https://na1.salesforce.com/servlet/servlet.ReportList', true); http2.setRequestHeader("sid", sforceClient.sessionId); http2.onreadystatechange = handleResponse2; http2.send(null); Thanks in advance for any help Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

I love the info!

However I am having some issues setting the SID in my XMLHttpRequest call. Wondering if you can give me some pointers?

http2.open(’get’, ‘https://na1.salesforce.com/servlet/servlet.ReportList’, true);
http2.setRequestHeader(”sid”, sforceClient.sessionId);
http2.onreadystatechange = handleResponse2;
http2.send(null);

Thanks in advance for any help

]]>
by: Gareth Davies http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-182 Tue, 16 May 2006 12:13:40 +0000 http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/#comment-182 We just implemented your report reader hack in c#. Works a treat. We are considering opensourcing these classes - if you think we should please let me know! Cheers Gareth. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 260

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 261

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 262

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-content/plugins/codesnippet/codesnippet.php on line 263

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/warped/public_html/sfdc-heretic/wp-includes/functions-formatting.php on line 76

We just implemented your report reader hack in c#. Works a treat. We are considering opensourcing these classes - if you think we should please let me know!

Cheers
Gareth.

]]>