You need to sign in to do that
Don't have an account?
hemanth reddy _SFD
setWhatId - Issues with multiple IDs
How can i specify Multiple SetWhatID's ?
my intention is to send an email template which is using muliple fields from multiple Sobjects using Apex class.So inorder to do so, I have to use :setwhatId(Id of the sobject whose fields are being using in template);
but as i said iam using multiple fileds from different Sobjects, So how to solve this issue ?
please help me out
my intention is to send an email template which is using muliple fields from multiple Sobjects using Apex class.So inorder to do so, I have to use :setwhatId(Id of the sobject whose fields are being using in template);
but as i said iam using multiple fileds from different Sobjects, So how to solve this issue ?
please help me out
Depending on if the 2 what-objects you want to use are related, you may be able to creat formula fields on one of the objects that pulls the values from the other. And then use that object as the WhatId.