Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

How to use the Paginator with EntityLinkLister

$
0
0

I created a dashboard view that will display a list of saved searches using the EntityLinkLister module. I also use the Paginator module to page through the list of saved searches since there are a lot of them. The problem is that the Paginator wants to open the flashtimeline view whenever "prev", "next", or any of the page numbers are clicked instead of simply paging through the list. How do I configure the Paginator to simply page through the list, but wait until one of the saved search links is clicked before firing up the flashtimeline view?

Here's the complete code in my view:

<view template="dashboard.html">
    <label>Saved Searches</label>
    <module name="AccountBar" layoutPanel="appHeader"/>
    <module name="SideviewUtils" layoutPanel="appHeader" />
    <module name="AppBar" layoutPanel="navigationHeader"/>
    <module name="Message" layoutPanel="messaging">
        <param name="filter">*</param>
        <param name="clearOnJobDispatch">False</param>
        <param name="maxSize">3</param>
    </module>

    <!--Display List of Saved Searches -->
    <module name="Paginator" layoutPanel="panel_row1_col1" >
        <param name="entityName">settings</param>
            <module name="EntityLinkLister"  >
            <param name="count">10</param>
            <param name="entityPath">saved/searches</param>
            <param name="settingToCreate">SavedSearches</param>
            <param name="entityFieldsToDisplay">
                <list>
                    <param name="label">name</param>
                    <param name="value">search</param>
                </list>
            </param>
            <module name="Search">
                <param name="search">$SavedSearches$</param>
                    <module name="ViewRedirector">
                        <param name="viewTarget">flashtimeline</param>
                    </module> <!-- ViewRedirector -->
            </module> <!-- Search -->
        </module> <!-- EntityLinkLister -->
    </module> <!-- Paginator -->
</view>

Thanks.


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>