• falkson
  • NEWBIE
  • 0 Points
  • Member since 2006

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
Hi,
 
I keep getting this error in Firefox. 
uncaught exception: Permission denied to call method XMLHttpRequest.open
 
I also get "Permision denied" in IE7.
 
I have read that this is possisbly a Firefox issue but after adding the following line I still get the error. 
 

function init() {

if (window.XMLHttpRequest) sforceClient.appType = Sforce.Application.Type.FireFox;

}

This function is called from the Body oload.

I beliveve this functionality worked in IE6 but I cannot vouch for it.

Any assistance would be appreciated.

MF

Message Edited by falkson on 10-20-2006 11:14 AM

 

Message Edited by falkson on 10-20-2006 11:15 AM

Hi,
 
I'm trying to associate a task with a lead.  When I look at the field listing for a task it shows...
 
Lookup(Account,Opportunity,Case,Campaign,Contract,Solution,Product,Asset,Script) 
 
i.e. No Lead.
 
Also when you drill down it says the name of the field is What.
 
When I attempt to insert the task using the Lead ID I receive the following error.
 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
 
Any help would be appreciated.
 
Regards
 
Mike
Hi,
 
We've developed applications that connect with salesforce.com without any problem.
 
I now have a client that needs us to work initially with a sandbox.  The URL's we would normally use do not work. 
 
e.g.  we are calling
 

https://www.salesforce.com/services/lib/ajax/beta3.3/sforceclient.js

and

https://na1.salesforce.com/js/functions.js

Then logging in with ....  sforceClient.login(user,pass);

 

How would I do the same with a sandbox account?

 

Many thanks

MF

  • September 20, 2006
  • Like
  • 0
Hi,
 
I'm trying to associate a task with a lead.  When I look at the field listing for a task it shows...
 
Lookup(Account,Opportunity,Case,Campaign,Contract,Solution,Product,Asset,Script) 
 
i.e. No Lead.
 
Also when you drill down it says the name of the field is What.
 
When I attempt to insert the task using the Lead ID I receive the following error.
 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
 
Any help would be appreciated.
 
Regards
 
Mike
Hi,
 
We've developed applications that connect with salesforce.com without any problem.
 
I now have a client that needs us to work initially with a sandbox.  The URL's we would normally use do not work. 
 
e.g.  we are calling
 

https://www.salesforce.com/services/lib/ajax/beta3.3/sforceclient.js

and

https://na1.salesforce.com/js/functions.js

Then logging in with ....  sforceClient.login(user,pass);

 

How would I do the same with a sandbox account?

 

Many thanks

MF

  • September 20, 2006
  • Like
  • 0
I need to generate a hyperlink that passes some short text data on the query string - formula would be something like this: HYPERLINK("http://www.aaaaa.com/somewhere?name= & {!Lead_Name}", "My Link").
 
How do I URL encode the {!Lead_Name}?  I did a quick test, and if the lead is named "A&B", the result is /somewhere?name=A&B.  This is clearly wrong - should be ...?name=A%26B.  The value of parameter "name" has been corrupted to "A", and a second parameter B has been added, effectively.  How should I get around this so parameters are encoded properly and not corrupted?
 
Thanks in advance,
Dan