+ Start a Discussion
Sonam PatilSonam Patil 

Hard Coding in Hyperlink in formula field.

Hi,
Below is my formula, please can anyone help me how to avoide the hard coding in hyperlink.

IF (OR(AND(ISPICKVAL(Apttus__Status_Category__c,"In Effect"),NOT(ISPICKVAL(Apttus__Status__c,"Being Amended")), NOT(ISPICKVAL(Apttus__Status__c,"Being Renewed")))), HYPERLINK("/apex/Apttus__AgreementAmend?id=" &Id, IMAGE("/resource/Apttus__Button_Amend", "Amend"),"_self"),NULL)

Thank You.
SandhyaSandhya (Salesforce Developers) 
Hi,

Please refer below links that may help you.

https://success.salesforce.com/answers?id=90630000000huVAAAY
 
http://salesforce.stackexchange.com/questions/3816/how-do-i-get-the-base-url-in-the-formula-editor
 
Hope this helps you!

If this helps you mark it as solved.

Thanks and Regards
Sandhya