Access additional DataPipeline from Razor view

May 14, 2016 at 7:32 AM
Is it posible to access another pipeline data from razor script
already conected to custom data pipeline?

(multiple pipelines)

eg:
My custom data pipeline give me some values and base on this values I
want to get some other custom pipeline and used its values/lists in conditional block
of this razor script?
Coordinator
May 14, 2016 at 10:42 AM
I'm not sure if i got the question right, but you're probably looking for

App.Data.Query['query name"]
May 14, 2016 at 5:07 PM
Edited May 14, 2016 at 5:08 PM
This did not work for me,
but this was OK
var list = App.Query["Query-Name"]["Stream-Name"].List;
foreach(var item in AsDynamic(list)){
    <div>@item.Title</div>
}
Coordinator
May 15, 2016 at 6:56 AM
perfect, thx :)
May 15, 2016 at 2:21 PM
Edited May 15, 2016 at 2:22 PM