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
china.leafchina.leaf 

I have a problem with servlet.ReportList

var _handleFailure = function(error){alert(error); };

var _parseXml = function(response){

     alert(response);

};

$(document).ready(function(){

    sforce.connection.remoteFunction({

          url : 'https://emea.salesforce.com/servlet/servlet.ReportList?sessionid={!$Api.Session_ID}'

        , onSuccess : _parseXml

        , onFailure : _handleFailure

        , async : true });

});

 

 

Return this message:


<?xml version="1.0" ?>
<result>
Invalid session.
</result>

 

Why?How to set the session?

PamSalesforcePamSalesforce

Hi,

 

Were you able to find the solution for this.I am getting the same error.

Can you please post your current working code.

 

Thanks, in advance