Skip to main content

I am pulling in a date field from salesforce into my MS Word template and need to suppress a table row if Start_Date in the Products table contains 2025. Or it could be constructed as < 1/1/26. Is this possible? How would this expression look? ​@Oskay Taskin 😁

Have you tried xpath functions? You could probably do something like:

<# <SuppressTableRow Select="//rowdate[xs:date(.) < xs:date('2026-01-01')]" Match="True" /> #>

 

Replace rowdate with the actual date node