You need to sign in to do that
Don't have an account?
devNut!
What does this mean: "Loop variable must be an SObject or list of EmailTemplate" ?
Hi,
Trying to run the following statement that simply queries the EmailTemplate standard object
but getting the error:
Save error: Loop variable must be an SObject or list of EmailTemplate
Can anyone shed some light?
Trying to run the following statement that simply queries the EmailTemplate standard object
Code:
for ( EmailTemplate et : [ select Id, Name, Body from EmailTemplate ] ) { System.debug(logginglevel.DEBUG, 'obj data: '+et); }
Save error: Loop variable must be an SObject or list of EmailTemplate
Can anyone shed some light?
Message Edited by tmatthiesen on 08-26-2008 12:37 PM