Each link works fine on its own (e.g. the custom link is just populated w/ http://www.yyy.com/abc, but if I incorporate an IF statement, everything stops working.
Problems include:
1. the URL gets added onto https://www.salesforce.com/na2/xxxxx
2. the merge fields stop working.
So...is it possible to include an IF statement in a custom link? Any tips on what needs to be done?
Thanks
Gorav
답변 2개
Hey Gorav,
You can indeed do this.
Make a custom formula field that returns text. You can then set up your fomula to look something like:
IF(Field__c = Criteria, "
http://website1.com", "http://website2.com")
Hope this helps,
David
Duckyforce