Fork me on GitHub
2sxc 9.0 for DNN 7 to 9
Website Builder, Content Manager, App-System: free and amazing - done your way
You are here: Home  >  Docs  >  Feature

StreamFallback Data Source

Introduced in Version 07.00.02

 

This data source allows you to choose the first stream from many In-Streams containing results. Common use cases are "Apply a filter from URL - but if nothing comes back, deliver all" or "Try to get the news from this week, but if there are none, just get the top 5" and similar scenarios.

 

This is what it looks like in the Visual Query Designer


Sequence / Order of Evaluated Streams

  1. First check the "Default" - if it exists and has items, use this
  2. Otherwise check all in-streams alphabetically 0-9, A-Z, deliver the first which returns anything

Streams in the ModuleDataSource

  • In
    • Preferably a "Default" for the first try - but not necessary. 
    • Any amount of in-streams you want - just be aware that they are evaluated in a-z order. 
  • Out
    • Default - containing the stream which matched

Configuration of the StreamDataSource

  • There are no configurable settings in the Visual Query Designer 

Specials of the ModuleDataSource

Nothing.



Tags for this feature

2serve . 2invent . 2create is 2be.