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
ReneeLReneeL 

s-control problem

Hello,
 
I've created an s-control and in it is a very plain web page (at least currently) and some text.  Below that is a link that users can click on and it should bring them to another page and supply some login info for them.  It seemed to be working and I tweaked it a little bit and now it is appending additional info to the link  - the following info
 
https://na3.salesforce.com/servlet/servlet and then my link but encased in quotes.  The site that I'm directing the users to is completely outside of salesforce and according to the help which uses a google link this shouldn't be a problem.  Why am I being redirected inside of Salesforce?  Any help is much appreciated!
 
The other issue I seem to be running into is that when it does appear to partially work the pieces of the link don't seem to getting passed through.  I've tested the link in a stand alone page from my desktop and it works fine from there so the code itself is good but is there something else I should be doing?  Or a way around using s-controls that might make this easier?
 
Thanks!
 


Message Edited by ReneeL on 10-24-2008 07:51 AM
bakumbakum
Hi,

I clicked your link but was redirected to a 404 page.  Maybe you can type the link out?

-mb
ReneeLReneeL
Hmmmmm I had pasted the link in as text not as a link but I'll try again.
 
https ://na3.salesforce.com/servlet/servlet
 
I had to put a space after https to get the link in there as text and not a link. 
 
 
I seemed to have partially fixed the problem by using javascript and opening a new page completely but if anyone still has any ideas out there about why it keeps adding the salesforce.com servlet stuff before it without opening a new window I'd appreciate it.
 
Thanks!
 
 
 
 
 
 
 
 
 
bakumbakum
SO it's adding this code to the end of the URL you're trying to link to?  Can you paste the code you're using to write the original link?