<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Modal Pop-up to show Splunk Panel on html button Click? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579094#M47420</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239676"&gt;@prashant_t&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are setting &amp;nbsp;"&lt;STRONG&gt;Jira Description&lt;/STRONG&gt;" value in token and wanna use in Popup Model. Which is already there in my logic also. Check&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;strCellValue &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;variable for that. No need to set token in drilldown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you have any specific requirement then you can share so I can share specific solution for that.&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一 &amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 09:37:01 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2021-12-22T09:37:01Z</dc:date>
    <item>
      <title>Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/578864#M47399</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;&lt;P&gt;In my Splunk Dashboard, i have a splunk table, when clicking on any cell value of defined field name, a splunk panel, opens up, below splunk table.&lt;/P&gt;&lt;P&gt;Now the drilldown panel is not a table view, neither a chart view, its a form, a HTML form.&lt;/P&gt;&lt;P&gt;How can i show this drilldown panel, the form view in pop-up window?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 06:18:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/578864#M47399</guid>
      <dc:creator>prashant_t</dc:creator>
      <dc:date>2021-12-20T06:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/578891#M47401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239676"&gt;@prashant_t&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use this code for the pop-up&lt;/P&gt;&lt;P&gt;github.com/siddharthajuprod07/youtube/tree/master/modal_js&lt;/P&gt;&lt;P&gt;if you need clarification you can watch this video&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=JArICsC4yaE" target="_blank"&gt;https://www.youtube.com/watch?v=JArICsC4yaE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 10:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/578891#M47401</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-12-20T10:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/578903#M47403</link>
      <description>&lt;P&gt;I went through this video, but my issue is:&lt;/P&gt;&lt;P&gt;I am clicking the field value from "Jira Description", and below form appears.&lt;/P&gt;&lt;P&gt;Now here i use, textbox, and text area. so do i need to call each of these in Java script?&lt;/P&gt;&lt;P&gt;I was thinking is there any option, like i have this drilldown thing, under a row or panel and call that in js for pop-up?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prashant_t_0-1640000746774.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17305i7F1DBC6709912908/image-size/medium?v=v2&amp;amp;px=400" role="button" title="prashant_t_0-1640000746774.png" alt="prashant_t_0-1640000746774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 11:47:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/578903#M47403</guid>
      <dc:creator>prashant_t</dc:creator>
      <dc:date>2021-12-20T11:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/578988#M47413</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239676"&gt;@prashant_t&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try this example dashboard?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;XML&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard script="a.js"&amp;gt;
  &amp;lt;label&amp;gt;Popup Model HTML Content&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table id="tblSimple"&amp;gt;
        &amp;lt;title&amp;gt;Simple Table&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults count=10 | eval A=1 | accum A | table A | eval "Jira Description" = "Jira Description" + A&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;condition&amp;gt;&amp;lt;/condition&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;a.js&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;require([
    'underscore',
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/tableview',
    'splunkjs/mvc/searchmanager',
    '../app/splunk_dashboard_model_view_examples/components/ModalViewComponentSimple',
    'splunkjs/mvc/simplexml/ready!'
], function(_, $, mvc, TableView, SearchManager, ModalViewComponentSimple) {
    console.log("LAZY!!!");

    // Add overlay buttons to table
    var CustomRangeRenderer = TableView.BaseCellRenderer.extend({
        canRender: function(cell) {
            return _(["Jira Description"]).contains(cell.field);
        },
        render: function($td, cell) {
            var strCellValue = cell.value;
            console.log(strCellValue)
            if (cell.field === "Jira Description") {
                var strHtmlInput = "&amp;lt;div style='cursor: pointer;'&amp;gt;" + strCellValue + "&amp;lt;/div&amp;gt;"
                $td.append(strHtmlInput).on("click", function(e) {
                    console.log(strCellValue)
                    showPopup(strCellValue)
                });
            }
        }
    });

    var sh = mvc.Components.get("tblSimple");
    if (typeof(sh) != "undefined") {
        sh.getVisualization(function(tableView) {
            // Add custom cell renderer and force re-render
            tableView.table.addCellRenderer(new CustomRangeRenderer());
            tableView.table.render();
        });
    }

    function showPopup(strCellValue) {
        var modal = new ModalViewComponentSimple({
            title: "Kamlesh: ▄︻̷̿┻̿═━一 " + strCellValue,
            id: "model_table_5",
            display_component: {
                viz_options: {
                    template: `
                    &amp;lt;div class="form-horizontal form-small content"&amp;gt;
                        &amp;lt;div class="form-group control-group"&amp;gt;&amp;lt;div class="control-label col-sm-2"&amp;gt;
                            &amp;lt;p&amp;gt; Summary: &amp;lt;/p&amp;gt;
                        &amp;lt;/div&amp;gt;
                        &amp;lt;div class="col-sm-6 controls control-placeholder"&amp;gt;
                            &amp;lt;div class="control shared-controls-textcontrol control-default" &amp;gt;
                                &amp;lt;span class="uneditable-input " data-role="uneditable-input" style="display:none"&amp;gt;&amp;lt;/span&amp;gt;
                                &amp;lt;textarea id="summary" name="summary" rows="4" cols="50"&amp;gt;&amp;lt;/textarea&amp;gt;
                            &amp;lt;/div&amp;gt;
                        &amp;lt;/div&amp;gt;
                    &amp;lt;/div&amp;gt;
                `,
                },
            }
        });
        modal.show();
    }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;&lt;STRONG&gt;ModalViewComponentSimple.js&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;&lt;STRONG&gt;Use this app.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/KamleshVaghela/splunk_dashboard_model_view_examples/blob/main/appserver/static/components/ModalViewComponentSimple.js" target="_blank" rel="noopener"&gt;https://github.com/KamleshVaghela/splunk_dashboard_model_view_examples/blob/main/appserver/static/components/ModalViewComponentSimple.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screen:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-12-21 at 11.57.34 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17313i5126EC6F583EBDB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-12-21 at 11.57.34 AM.png" alt="Screenshot 2021-12-21 at 11.57.34 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I hope this will help you.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This is an example dashboard. Do necessary changes to achieve your requirement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一 &amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 06:31:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/578988#M47413</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-12-21T06:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579076#M47419</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This was pretty, close to what i was looking for.&lt;/P&gt;&lt;P&gt;Just want to know, how can i pass the token value into this js under div?&lt;/P&gt;&lt;P&gt;&amp;lt;textarea id="summary" name="summary" rows="4" cols="50"&amp;gt;$token$&amp;lt;/textarea&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whereas this token is defined on UI:&lt;/P&gt;&lt;P&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;lt;condition field="Jira Description"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;set token="token"&amp;gt;$row.Jira Description$&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/condition&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;/P&gt;&lt;P&gt;What i am trying to achieve is, want to display this token value in textarea.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 05:39:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579076#M47419</guid>
      <dc:creator>prashant_t</dc:creator>
      <dc:date>2021-12-22T05:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579094#M47420</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239676"&gt;@prashant_t&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are setting &amp;nbsp;"&lt;STRONG&gt;Jira Description&lt;/STRONG&gt;" value in token and wanna use in Popup Model. Which is already there in my logic also. Check&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;strCellValue &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;variable for that. No need to set token in drilldown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you have any specific requirement then you can share so I can share specific solution for that.&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一 &amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 09:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579094#M47420</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-12-22T09:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579155#M47423</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;agreed, you are using&amp;nbsp;strCellValue to diplay value, but this is you are using in title. How can i place&amp;nbsp;strCellValue in textarea?&lt;/P&gt;&lt;P&gt;&amp;lt;textarea id="summary" name="summary" rows="4" cols="50"&amp;gt;strCellValue&amp;lt;/textarea&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 05:30:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579155#M47423</guid>
      <dc:creator>prashant_t</dc:creator>
      <dc:date>2021-12-23T05:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579157#M47424</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239676"&gt;@prashant_t&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes. Update that code like this.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;textarea id="summary" name="summary" rows="4" cols="50"&amp;gt;` + strCellValue + `&amp;lt;/textarea&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-12-23 at 11.19.01 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17332iD386BFF33538A6E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-12-23 at 11.19.01 AM.png" alt="Screenshot 2021-12-23 at 11.19.01 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一 &amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 05:49:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579157#M47424</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-12-23T05:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579352#M47428</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;, just an extension, to this, wanted to know, what token shall i use, to copy the data of whole row, and populate the data in text area. like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sarvesh_11_0-1640671355031.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17348iE7694B898EDB8273/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sarvesh_11_0-1640671355031.png" alt="sarvesh_11_0-1640671355031.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i tried to hamper your code, but fails to get what i want&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 06:03:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579352#M47428</guid>
      <dc:creator>sarvesh_11</dc:creator>
      <dc:date>2021-12-28T06:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579994#M47513</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/44240"&gt;@sarvesh_11&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apology for late reply..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check below example for such kind of scenario. There is one trick used in search and Cell Display.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard script="a.js"&amp;gt;
  &amp;lt;label&amp;gt;Popup Model HTML Content&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;$token$&amp;lt;/title&amp;gt;
      &amp;lt;table id="tblSimple"&amp;gt;
        &amp;lt;title&amp;gt;Simple Table&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults count=10 | eval A=1 | accum A | table A | eval "Jira Description" = "Jira Description" +"|"+ A&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;set token="token"&amp;gt;$row.Jira Description$&amp;lt;/set&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;require([
    'underscore',
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/tableview',
    'splunkjs/mvc/searchmanager',
    '../app/splunk_dashboard_model_view_examples/components/ModalViewComponentSimple',
    'splunkjs/mvc/simplexml/ready!'
], function(_, $, mvc, TableView, SearchManager, ModalViewComponentSimple) {
    console.log("LAZY!!!");

    // Add overlay buttons to table
    var CustomRangeRenderer = TableView.BaseCellRenderer.extend({
        canRender: function(cell) {
            return _(["Jira Description"]).contains(cell.field);
        },
        render: function($td, cell) {
            var strCellValue = cell.value.split("|")[0];
            var strJiraId = cell.value.split("|")[1];
            console.log(strCellValue)
            if (cell.field === "Jira Description") {
                var strHtmlInput = "&amp;lt;div style='cursor: pointer;'&amp;gt;" + strCellValue + "&amp;lt;/div&amp;gt;"
                $td.append(strHtmlInput).on("click", function(e) {
                    console.log(strCellValue)
                    showPopup({ "strCellValue": strCellValue, "strJiraId": strJiraId })
                });
            }
        }
    });

    var sh = mvc.Components.get("tblSimple");
    if (typeof(sh) != "undefined") {
        sh.getVisualization(function(tableView) {
            // Add custom cell renderer and force re-render
            tableView.table.addCellRenderer(new CustomRangeRenderer());
            tableView.table.render();
        });
    }

    function showPopup(data) {
        console.log(data);
        var modal = new ModalViewComponentSimple({
            title: "Kamlesh: ▄︻̷̿┻̿═━一 " + data["strCellValue"],
            id: "model_table_5",
            display_component: {
                viz_options: {
                    template: `
                    &amp;lt;div class="form-horizontal form-small content"&amp;gt;
                        &amp;lt;div class="form-group control-group"&amp;gt;&amp;lt;div class="control-label col-sm-2"&amp;gt;
                            &amp;lt;p&amp;gt; Summary: &amp;lt;/p&amp;gt;
                        &amp;lt;/div&amp;gt;
                        &amp;lt;div class="col-sm-6 controls control-placeholder"&amp;gt;
                            &amp;lt;div class="control shared-controls-textcontrol control-default" &amp;gt;
                                &amp;lt;span class="uneditable-input " data-role="uneditable-input" style="display:none"&amp;gt;&amp;lt;/span&amp;gt;
                                &amp;lt;textarea id="summary" name="summary" rows="4" cols="50"&amp;gt;` + data["strCellValue"] + `&amp;lt;/textarea&amp;gt;
                            &amp;lt;/div&amp;gt;
                        &amp;lt;/div&amp;gt;
                        &amp;lt;div class="form-group control-group"&amp;gt;&amp;lt;div class="control-label col-sm-2"&amp;gt;
                            &amp;lt;p&amp;gt; Index: &amp;lt;/p&amp;gt;
                        &amp;lt;/div&amp;gt;
                        &amp;lt;div class="col-sm-6 controls control-placeholder"&amp;gt;
                            &amp;lt;div class="control shared-controls-textcontrol control-default" &amp;gt;
                                &amp;lt;span class="uneditable-input " data-role="uneditable-input" style="display:none"&amp;gt;&amp;lt;/span&amp;gt;
                                &amp;lt;input id="jira_id" name="jira_id" value="` + data["strJiraId"] + `"&amp;gt;&amp;lt;/input&amp;gt;
                            &amp;lt;/div&amp;gt;
                        &amp;lt;/div&amp;gt;
                    &amp;lt;/div&amp;gt;
                `,
                },
            }
        });
        modal.show();
    }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一 &amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 12:53:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/579994#M47513</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2022-01-05T12:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/580415#M47546</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;. I got it, what i wanted. thanks alot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 09:49:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/580415#M47546</guid>
      <dc:creator>sarvesh_11</dc:creator>
      <dc:date>2022-01-10T09:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Modal Pop-up to show Splunk Panel on html button Click?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/580672#M47564</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;, actually your code worked for me, but is there any tutorial if i want to understand your js part? because i dont have just 2 fields, there are around&amp;nbsp; 8 field values i want to populate in that pop-up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great help if you can share any link or some for better understanding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 18:41:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Pop-up-to-show-Splunk-Panel-on-html-button-Click/m-p/580672#M47564</guid>
      <dc:creator>sarvesh_11</dc:creator>
      <dc:date>2022-01-11T18:41:52Z</dc:date>
    </item>
  </channel>
</rss>

