Skip to main content

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? 

Hi ​@etemkin1 - thanks for reaching out!

There isn't such a 'Table' Tag in GEN so it returns an error. Please open a support case so our Specialized agent can review the current workflow 👉 Open a Support Case

I've also sent you a message about who you can contact for this one.

In the meantime, here are some helpful resources:

Learn About Using Table Row XML Tags in Gen to Import Salesforce Data

Add Conditional Logic to a Gen Template to Show or Hide Content

Learn About Adding Conditional Logic to a Gen Template Word Document

Let us know if you need further assistance. We're here for you!

 

Sincerely,

Melanie | Docusign Community Moderator

If this helped, feel free to Like👍and click "Best Answer"