The text is like:
http://{!$Setup.IntranetUrls__c.SalesIntranet__c}/sales/Lookup/Contact.aspx?email={!Opportunity.Contact_Email__c}
Where IntranetUrls is a hierarhcy custom setting with a SalesIntranet field. This works fine when the custom setting is set to a plain machine name like "testintranet1.intranet" - but I'd like to have the /sales part in that setting as well, as that is where the web app is. i.e. "testintranet1.intranet/sales"
However - as soon as I put that /sales in the custom setting the URL breaks and clicking the button just sends me to an about page in Chrome.
1 件の回答
As a follow up - it looks like the custom setting gets URL encoded (so the / becomes %2f) - so the question now becomes - is there any way to _prevent_ a field getting URL encoded?