+ Start a Discussion

Replacing merge fields in template...


I posted this question in the VF boards but figured this might be a better place for it.  I am looking for a way to grab a template and enter in the merge fields for it.  In this instance, all templates are based off of case so its relative easy.  The problem is there are certain fields that are available when making a template (Case.OwnerFullName) that do not actually exist on the object.  I am aware they all link to an actual field, for instance Case.OwnerFullName is really just Case.Owner.Name.  I would prefer not to have to go and manually code in substitutions for this.  Is there a better way?