Question

Photo of Michael Garrison

0

Multiple DataViews on one custom page

I can't seem to find a block type that allows me to insert a specific data view on an arbitrary page. The closest is "Data View Detail", but that appears to rely on a GET variable to provide which DataView to display. Unfortunately, that also means that I can't have two data views "embedded" on a single custom page, which I'd like to be able to do.

Is there another way to display a DataView (or even a Report) on a page, either setting the ID or choosing from the heirarchy of all data views in the block configuration dialog? There's a post from some months ago on the forums indicating the "Dynamic Data" block could do that, but I couldn't find that either.

  • Photo of David Leigh

    0

    Michael,

    In V4, you can use the Dynamic Report Block to achieve this.
    The report block provides the ability to select a report and (optionally) allow the user to change one or more of the underlying Data View filters.

    You can read more about it in the V4 documentation here:
    http://www.rockrms.com/Rock/BookContent/6/63#dynamicreportblock

     

    • Michael Garrison

      Re: Dynamic Report Block: great, that will do the trick. Thanks
      Re: allowing the user to change one or more of the filters: AWESOME! I've been hoping something like that was coming. The need to set up the filters so exactly can result in a huge proliferation in the numbers of data views, just to get slightly different data. This will be a huge benefit.

    • Michael Garrison

      Side question: the admin bar appears to have disappeared in the alpha site, so when I went to see whether something had changed prior to posting this question, I couldn't get into anything that would let me find this functionality. Any idea where the admin bar went? In the future I'll try to find the answer in the v4 documentation first as well. Thanks for the link