Skip to main content
Solved

Variant conditional layout


Good morning, I would like to have a conditional layout in a variant of a subject. With a default subject template, I would go to Subjects > Default > select the relevant subject > Data > Conditional layouts. However, with Variants, there is no option for Conditional layouts in the Data tab. My current workaround is to create a view that contains the same data as the variant I want a conditional layout for, then set that view as a detail of the Default subject. This is quite unpractical, and I feel like I should be able to set a conditional layout in a variant. Is this at all possible?

Edit: I just found out that I can create a Conditional layout in the Default, then enable or disable this layout in the Variant.

Best answer by Dries Fransen

Hi Dries, in order to enable a conditional layout in a variant, you first have to specify a conditional layout in the Default subject. Afterwards, it is possible to enable and disable conditional layouts for specific variants.

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

2 replies

  • Author
  • Apprentice
  • 5 replies
  • Answer
  • October 19, 2021

Hi Dries, in order to enable a conditional layout in a variant, you first have to specify a conditional layout in the Default subject. Afterwards, it is possible to enable and disable conditional layouts for specific variants.


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Dries,

It is not possible to create Conditional layouts for Variants, but you can Show conditional layouts that are entered at the original object. You can enter the Conditional layout on the original object and hide it there, then show it for the specific Variant.

Enter the Conditional layout at the original object
Either show or hide the Conditional layout on Variants

Edit: Seems like you found it ;)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings