This might be where there is some coding teaching here, what is object[0]? Sorry, I'm trying based on what languages and logic structures I know, but I'm sure it's not the pretties...
Got it, I've updated the first token that calls this to as follows:
#if( ! $display.alt($mergedOpptyAndAVMList,"").isEmpty() )
#foreach(ITEMFROMAVM in mergedOpptyAndAVMList)
...
0th element?
I have a few other tokens that come after that reference the created merged list, such as this:
${mergedOpptyAndAVMList.get(0).ITEMFROMAVMLIST__c}
@Jo_Pitts1Thanks for that! Silly question but how do I input the no value check?
@SanfordWhitemanI updated based on the edit, and now I get:
Could it be where I'm placing the Tok...
Ah I see.
I've prepared a way to send a live email to myself, with the list merge at the top of the body, but when I approve and close the email I get the following:
Gotcha. So what I've done is change the tokens that reference the AVMList to reference the new merged list, so for example:
${mergedOpptyAndAVMList.get(0).ITEMFROMORIGINALLIST__c}...
@SanfordWhitemanI think I am getting it, sorry to be so dense.
I am replacing the $oppty and $avm with the full variable name, yes, and then the void with the token name, ordo I n...
I think I follow, so would this be correct in theory? Forgive me for sounding it out
#foreach over (${OpportunityList)
#if(${OpportunityList.get(0).Zipcode__c}.equals(${AVM_Value...
Fields were checked off, everything was correct...
...except for the fact that there are two sets of lat/lon fields and when I double-checked the indicator field (what I put on to...