Articles on: Q&A

Is it possible to conditionally hide a page in the document?

Yes, it is possible to conditionally hide a page in a document. By using specific conditions, you can set up your document to automatically exclude certain pages. This feature helps streamline your document creation process, ensuring that only relevant content is included based on the conditions you define.



Use-case of Expression Language in Conditional Formatting


Let's imagine a use-case where you want to hide the page when both {dataFieldName} and {dataFieldName2} are empty. In this case, the expression would look like this:

empty({dataFieldName}) && empty({dataFieldName2})

This expression will ensure that the page is hidden if both data fields are empty. You can also find more examples of expression language here.



How to embed editor to my application?
Is it possible to conditionally change the component style or hide the component?
Supported operators

Updated on: 13/03/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!