You need to sign in to do that
Don't have an account?
want to replace <a href=https://ap2.salesforce.com/{!Enhancement_Tracker__c.Id}">Click Here</a> from {!Enhancement_Tracker__c.Id}
Hello Every one
I want to replace {!Enhancement_Tracker__c.Id} from <a href=https://ap2.salesforce.com/{!Enhancement_Tracker__c.Id}">Click Here</a>
I am using
string body = obj.emailtemplate
bodyString = bodyString.replace('{!Enhancement_Tracker__c.Id} ',objEnhancement.id);
and result is https://ap2.salesforce.com/%7B!Enhancement_Tracker__c.Id%7D
I want the id of the record
any help how to replace
Thanks
Vikas Rathi
I want to replace {!Enhancement_Tracker__c.Id} from <a href=https://ap2.salesforce.com/{!Enhancement_Tracker__c.Id}">Click Here</a>
I am using
string body = obj.emailtemplate
bodyString = bodyString.replace('{!Enhancement_Tracker__c.Id} ',objEnhancement.id);
and result is https://ap2.salesforce.com/%7B!Enhancement_Tracker__c.Id%7D
I want the id of the record
any help how to replace
Thanks
Vikas Rathi