You need to sign in to do that
Don't have an account?
the1200.force.com added to the start of my <a href "url"> tag
Hi Folks..
I am almost there with my little test app in force.com sites.
I simply have a list of soldiers shown along with an external website link to that soldiers WW1 war record.
But when I click on the link which displays as www.ww1link.com the SF adds the1200.force.com to the front of it..
So effectively it tries to lnk to http://the1200.force.com/www.ww1link.com
I simply want it to link to www.ww1link.com
The value www.ww1link.com is stored in the SF database and displays correctly on the page.. but the link is incorrect.
Would anyone have any ideas?
Regards
j.themuss
I don't think that this is SF - I think its the browser. If you don't prefix the link with the scheme (e.g. http/https), the browser will assume that this is a relative link and use the current site as the root. If you make the link the full URL - e.g. http://www.ww1link.com, then it will be taken as an external link.
All Answers
I don't think that this is SF - I think its the browser. If you don't prefix the link with the scheme (e.g. http/https), the browser will assume that this is a relative link and use the current site as the root. If you make the link the full URL - e.g. http://www.ww1link.com, then it will be taken as an external link.
Hi Bob..
That was indeed the issue...
What was confusing me was when I viewed the records in Salesforce is did display with the http:// at the front of the address.
But when I went wnd edited the field.. there was no http:// present..
Adding the http:// did the trick..
The count is now 2 Guinness owed to you when our paths cross :)
j.themuss