At this time, there is no option for an OR operator. I can suggest a few workarounds and provide some information on how Page Entries are served.
The way page entries are served is indicated on your Content page on match.
The URL targeting will travel from top to bottom. In the following screenshot, I’ve indicated that Homepage 2 Specific should be served if the endpoint exists.
Hi Julius,
thank you for your response. I solved it directly in nextjs.
My goal was to have content displayed on several pages as section. For example an announcement bar or a special side bar.
What I did now was generating a Section Model (The Announcement) and styled it with the fallback Editor.
Next I made a Structured Data Model containing all the links I want to show my announcement bar.
I wrapped my page.tsx in the Announcement.tsx and hand over the current URL.
My Announcement Component fetches the links defined in my Data Model within a next14 server component and checks if the current URL is within this list. If yes, it renders it. If not then not.
For now it looks like a pragmatical solution to me. Static content generation and Server Side Caching is also working fine.
The only thing is, that a clear naming condition and good documentation is necessary, that the users can get the connection between the data object and the announcement object.
So a simple solution in the GUI with an logical OR would be a great feature.