0

I am trying to convert Visualforce Email template to Lightning Email template but I am getting following error Apex Repeat is not allowed or invalid attribute Error in the Lightning Template Editor

<table border="1" >
  <tr>
    <th>CATEGORÍA
    </th>
    <th>MARCA
    </th>
    <th>PRODUCTO
    </th>
    <th>CANTIDAD
    </th>
  </tr>
  <aura:iteration var="cx" value="{{{F_ProductReplenishment__c.Product_Repleshiment_Items__r}}}">
    <tr>
      <td>{{{cx.F_Product__r.Product_Type__c}}}
      </td>
      <td>{{{cx.F_Product__r.Product_Sub_Brand__c}}}
      </td>
      <td>{{{cx.F_Product__r.Name}}}
      </td>
      <td>{{{cx.F_Quantity__c}}}
      </td>
    </tr>
  </aura:iteration>
</table>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.