Hi,
I am building out a Gen Word template. I have two tables that I want to display when a picklist field - Recurring_Product__c is Monthly or a seperate table when Recurring_Product__c = One Time Charge.
I currently have this in my word doc:
<# <Conditional Table="./Recurring_Product__c" Match="Monthly" /> #> Recurring Services
Product Name | Term (in Months) | Monthly Price | Total Price |
<# <TableRow Select="/Opportunity//OpportunityLineItems" /> #><# <Content Select="./Product2.Name"/> #> | <# <Content Select="./Term_in_Month_s__c"/> #> | <# <Content Select="./UnitPrice"/> #> | <# <Content Select="./TotalPrice"/> #> |
<# <EndConditional/> #>
I am receiving errors when I test and generate a document.
TemplateErrorExists:Schema Validation Error: The 'Table' attribute is not declared.
TemplateErrorExists:Error: EndConditional without matching Conditional
I am unable to figure out where I am going wrong. Does anyone have any suggestions?