Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Is there a way to use "if" condition inside DDX?

Avatar

Level 2

I need to enable page numbering in result PDF file as per the value of a variable dynamically. Is there a way to use "if" condition inside DDX so that I can check the value of the variable (lets say 'true' or 'false') and include the page number tag

          <p>

            Page

            <_PageNumber/>

            of

            <_LastPageNumber/>

          </p>

0 Replies