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

App.Data.Query["..."] let's you query all existing pipelines

Introduced in Version 07.00.00

Any visual query you create can also be used from razor using this property.

Syntaxt

  1. var ds = App.Data.Query["QueryName"]["Default"];
  2. var tags = App.Data.Query["AllTagsSorted"]["Default"];
  3. var listOfOtherStream = App.Data.Query["AllTagsSorted"]["Paging"];

In most cases you'll want to just cast the entire stream as being Dynamic (to allow @Tag.Name etc.) so it's probably more like

  1. var tags = AsDynamic(App.Data.Query["AllTagsSorted"]["Default"]);

Tags for this feature

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