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
tzuvytzuvy 

Button not working in Chrome or IE

Hi,

 

I've created a button that should prepopulate the descrption for cases while opening new ones. The thing is that users can see the content in cas15 while using FF but when they open the same case with the same button using IE or Chrome the description is not there.

 

Here is the button:

 

https://cs1.salesforce.com/500/e?def_contact_id={!Contact.Id}&def_account_id={!Account.Id}&RecordType=0120000000002Wv&&cas15="**Exact%20date%20and%20time%20in%20EST%20the%20issue%20occurred%20:%0D%0A(If%20applicable%20-%20logs)%0D%0A%0D%0A**Description%20-%20Customer%20impact:%0D%0AFrequency;%20how%20many%20operators%20are%20affected?%0D%0AWhen%20the%20client%20initially%20has%20noticed%20the%20issue?%0D%0ADid%20it%20work%20in%20the%20past?%0D%0AWas%20there%20any%20change%20prior%20the%20issue%20appeared%20in%20the%20system?%0D%0A%0D%0A**Steps%20to%20replicate%20:%0D%0A%0D%0A**Analysis%20already%20performed%20:%0D%0AOn%20customer’s%20environment%20/%20internal%20environment%20-test%20account%0D%0APlease%20specify%20the%20environment%20used%20to%20replicate%20the%20issue%20–%20software%20versions%0D%0Alogin credentials%20–%20website/%20affected%20operators.%0D%0A%0D%0A**Any%20known%20workaround%20(If applicable):%0D%0A%0D%0A**Highlights%20/%20Next%20steps%20that%20should%20be%20taken:%0D%0A%0D%0A**KB%20related%20(Document%20ID/Article ID):%0D%0A%0D%0A**Available%20data%20:%0D%0APLogs,%20Events,%20logs,%20screenshots%20etc.%0D%0AAttach%20the%20relevant%20to%20the%20last%20ticket%20comment/case.%0D%0A%0D%0A**Test\clone%20site%20ID%20(If applicable):%0D%0A"

 

As you see I pass content to the cas15 variable while opening new cases from the contact "new case" button.

 

Tested this in Chrome 5.0.375.86 and IE8 doesn't work.

 

FF 3.6.3 works perfectly.

 

Any help will be appreciated.

 

Thanks

 

tzuvy

 

Best Answer chosen by Admin (Salesforce Developers) 
tzuvytzuvy

Thanks for the help, after removing sentence by sentence I got to one line generating the problem. I believe it was the "/" character. It seems to be working now.

 

Thanks

 

Tzuvy

All Answers

JohanLiljegrenJohanLiljegren

Hi,

 

You have two ampersands before the "cas15". Could that be causing something weird?

Otherwise, I would get this back to basics by removing that large string that you assign to cas15 and simply say 

https://cs1.salesforce.com/500/e?def_contact_id={!Contact.Id}&def_account_id={!Account.Id}&RecordType=0120000000002Wv&cas15="test"

Does this populate with "test" in all browsers?

Perhaps go even further and only include the cas15 field on there?

 

https://cs1.salesforce.com/500/e?cas15="test2"

 

 

Any luck?

 

tzuvytzuvy

Thanks for the help, after removing sentence by sentence I got to one line generating the problem. I believe it was the "/" character. It seems to be working now.

 

Thanks

 

Tzuvy

This was selected as the best answer