• ErikGEn
  • NEWBIE
  • 0 Points
  • Member since 2006

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 5
    Replies
Hi

Anyone know the meaning of the login form fields ?
un => is the login yser name
pw => the password
startUrl ==> ???
LogoutUrl ==> where the logout in Salesforce will redirect (?)
ssoStartPage ==> ???
jse ==> ???
rememberUn ==> ????

Thanks
Could someone please explain to me why I can't stop this message in Firefox: uncaught exception: Permission denied to call method XMLHttpRequest.open

I've tried the solution that everyone here suggests (sforceclient.apptype = sforce.application.type.firefox) and thats not helping either.

This is my code:

function scontrolmain(IsStatic)
{
   try
   {
       sforcecleint=GetSForceClient();
   }
   catch(ExceptObject)
   {
       sforcecleint=null;
   }
   if(sforcecleint != null)
   {
       if(window.XMLHttpRequest)
       {
           sforcecleint.appType=GetSForceFFApplicationType();
       }
       loginresult=sforcecleint.login("xxx@xxx.com","xxx",null);
       showmessage(loginresult.toString());
       showmessage(sforcecleint.query("Select Id, LastName, FirstName From Contact",null).toString(null));
   }
   else
   {
       window.setTimeout(scontrolmain,100,"javascript");
   }
}


Message Edited by Arman on 08-27-2006 06:54 PM

Message Edited by Arman on 08-27-2006 06:54 PM

"Permission denied to call method XMLHttpRequest.open"
 
I am testing with some cross browser apps.
 
I have an HTML page which I load locally which has the the following :
 
      Code:
var result = sforceClient.login(DebugUser,DebugPass); 

 
This works fine when I test with IE (6.0.2900.) but with FF (1.5.0.4) it throws the above exception.
 
I can't find the call that is throwing the error (the debugger is not really that good in FF) but I have had the same issue when trying to load XML documents which was caused by the following:
 
ThIS Works in IE but not in FF
 

Code:

Tester= getXMLHTTPRequest();

Tester.open("get","Sample.xml",false)

Tester.send();


 

Works fine in IE but in FF it throws the same error. FF, it seems, demands a NULL parameter in the send.

Code:

Tester= getXMLHTTPRequest();

Tester.open("get","Sample.xml",false)

Tester.send(null);


 
This works with both . Perhaps this is the issue here as well?

I have no problem using

Code:

sforceClient.init("{!API_Session_ID}","{!API_Partner_Server_URL_70}");


 
 Within an SControl on FF 1.5, so I don't think this is super-urgent, but it would improve things on the testing front here as we have other surpise errors caused by cross-domain calls that are making life difficult enough!

Any comments or suggestions welcomed.

Thanks

Gareth.

 
 

Message Edited by Gareth Davies on 06-14-2006 03:30 PM

Hi
 
I just install the AppExchange plug-ins, but when I click on the Scontrol, it cannot open the Scontrol editor, I have the following message
"Unable to create editor ID com.appexchange.plugin.editors.SControlEditor: Index out of bounds"
 
I could access to the AppExchangeSchema.....
Anyone could help me ?
 
I have eclipse 3.1.2 and appExchange 1.0.2206
 
Thanks
Is it possible to use sforceClient.Login within an sControl rather than sforce.init?  I would like to allow my sControl to login as an adminstrative user as a security work-around, but I keep getting errors when calling the Login method.
 
Thanks.