I have two objects Parent and Child, I have created email alert on child with HTML email template, I have to send the link of site page in that mail template with URL parameter as Id of Parent, but when I used merge field as {!Child__c.Parent__c}
it is populating value from Name field on Parent Record. How can I get Id instead?
{!Child__c.Parent__r.Id}