EDITOR
Reusables
Display Rules
11 min
this feature works in combination with a jwt public access control or with guest accounts with magic links with saml integration a jwt authentication will have to be configured so the conditions defined in the display rules are validated or invalidated the display rules feature allows you to display specific content blocks based on predefined conditions this feature provides flexibility in content delivery, ensuring that users see content tailored to their needs and behaviors creating display rules conditions go to the dynamic components tab in the platform's bottom left corner select display rules create a new rule set click on + create new rule set to define conditions for displaying content specify your conditions using and / or logic to determine when content should be shown these conditions can be based on various parameters such as user behavior, profile attributes, or other criteria relevant to your platform applying display rules to a block edit your content block in the editor, locate the block you want to transform into a display content block access the block menu hover on the block to reveal the block menu, which is represented by six dots ( ⋮⋮ block menu icon) press the display rules button applying display rules to document/folder click on the three vertical dots near the document/folder name select the display rule that you want to apply choose the rule set you previously created from the dynamic components once these steps are completed, the selected content block will be transformed into a conditional content block, displaying only when the specified conditions are met example use case imagine you want to display a special promotion only to users who have previously purchased from your store and are visiting during a holiday season you would navigate to the dynamic components tab and create a new rule set with conditions based on purchase history and the current date apply this rule set to the promotional content block in the editor users meeting these conditions will now see the special promotion block during their visit jwt token integration keeping encoded conditions in the url used for connection ensuring that dynamic content can be securely tailored based on the information contained within the token when a user accesses the platform, their jwt token is decoded to retrieve the conditions these conditions are then matched against the predefined rule sets, determining which content blocks should be displayed display rules with public authentication options you can now apply display rules to public users who sign in using guest accounts magic link saml how it works create a display rule apply rule to a document or a folder done! when a user logs in (magic link, guest accounts, or saml) the rule checks the email's info if it matches → they can see it the document/folder if not → it's hidden example rule email contains archbee user logs in with sarah\@archbee com ✅ sarah can view the doc user logs in with mike\@gmail com ❌ mike won’t see it
🤔
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.