<?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: Why am I Receiving &amp;quot;A custom JavaScript error caused an issue loading your dashboard&amp;quot;? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/648226#M53036</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;,&lt;/P&gt;&lt;P&gt;This solution worked. Thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 16:21:32 GMT</pubDate>
    <dc:creator>spkriyaz</dc:creator>
    <dc:date>2023-06-26T16:21:32Z</dc:date>
    <item>
      <title>Why am I Receiving "A custom JavaScript error caused an issue loading your dashboard"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/619270#M50855</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;
&lt;P&gt;I'm sharing a temporary solution for "A custom JavaScript error caused an issue loading your dashboard"&amp;nbsp; popup message when your dashboard has any console errors.&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="Screenshot 2022-11-02 at 5.02.50 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22282iE1C33A0B09524E2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2022-11-02 at 5.02.50 PM.png" alt="Screenshot 2022-11-02 at 5.02.50 PM.png" /&gt;&lt;/span&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-11-02 at 5.03.15 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22283i76947267D7EF647D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2022-11-02 at 5.03.15 PM.png" alt="Screenshot 2022-11-02 at 5.03.15 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, this error message indicates that there is some javascript error during the execution of the script and you can easily check by doing inspect as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before applying this solution &lt;STRONG&gt;I suggest identifying the javascript error and resolve&lt;/STRONG&gt; in case there is scope.&amp;nbsp; Bcoz it may impact the logic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are trying to resolve this issue and taking time then this &lt;STRONG&gt;temporary&lt;/STRONG&gt; solution is good for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a Javascript-based solution, which overrides the popup container and makes it empty whenever it tries to populate with the error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;You can put this JS Code in your dashboard's Custom JS file or create the common file and use it in multiple dashboards.&lt;/P&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;LI-CODE lang="javascript"&gt;require([
    'underscore',
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/simplexml/ready!'
], function(_, $, mvc) {

    console.log($('[data-test="layer-container"]'));
    
    $('[data-test="layer-container"]').on('DOMSubtreeModified', function(){
        console.log('changed two');
        $('[data-test="layer-container"]').empty();
    });

    $('[data-test="layer-container"]').empty();
});&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-11-02 at 5.17.47 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22284i3C6A91899D5A7788/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2022-11-02 at 5.17.47 PM.png" alt="Screenshot 2022-11-02 at 5.17.47 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried this with&amp;nbsp;Splunk Enterprise Version: 9.0.2 Build: 17e00c557dc1. In case you find any difficulties please let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this will help you.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Happy Splunking&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;If any of my replies help you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 17:23:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/619270#M50855</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2023-06-22T17:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: A custom JavaScript error caused an issue loading your dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/619276#M50856</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;,&lt;/P&gt;&lt;P&gt;I have this problem on Splunk Cloud, have you any idea on how to use your solution in this environment?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 13:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/619276#M50856</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-11-02T13:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: A custom JavaScript error caused an issue loading your dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641363#M52361</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;, I'm tried your solution, but this script also disables drop down list from input of dashboard. Sometimes make this input disappear from dashboard.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea about it. Or Have you resolve "&lt;SPAN&gt;A custom JavaScript error caused an issue loading your dashboard.&lt;/SPAN&gt;"?&lt;BR /&gt;&lt;BR /&gt;I'm looking forward to hearing from you.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 03:57:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641363#M52361</guid>
      <dc:creator>Zer0sss</dc:creator>
      <dc:date>2023-04-26T03:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: A custom JavaScript error caused an issue loading your dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641368#M52364</link>
      <description>&lt;P&gt;For your custom App, yes.&lt;/P&gt;&lt;P&gt;For third-party Apps, I don't think so. Unless Splunk Support is willing help in anyway.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 05:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641368#M52364</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2023-04-26T05:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: A custom JavaScript error caused an issue loading your dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641381#M52366</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/93915"&gt;@VatsalJagani&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I trid to add the js but it wasn't possible to upload it in Splunk Cloud.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 06:33:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641381#M52366</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-04-26T06:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: A custom JavaScript error caused an issue loading your dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641396#M52370</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255644"&gt;@Zer0sss&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share your sample XML and JS code?&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 08:22:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641396#M52370</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2023-04-26T08:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: A custom JavaScript error caused an issue loading your dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641400#M52371</link>
      <description>&lt;P&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939" target="_blank"&gt;@kamlesh_vaghela&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using your JavaScript code and embedding it into this XML. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I insert your JavaScript code, all the dropdowns and mutilselect of the inputs do not display. Almost all dashboards are affected by this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my XML&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form version="1.1" script="pci_view_filters.js,pci_communication_rule_activity.js"&amp;gt;
  &amp;lt;label&amp;gt;Firewall Rule Activity&amp;lt;/label&amp;gt;
  &amp;lt;fieldset autoRun="true" submitButton="true"&amp;gt;
    &amp;lt;input id="rule_id" token="rule" type="text"&amp;gt;
      &amp;lt;label&amp;gt;Rule&amp;lt;/label&amp;gt;
      &amp;lt;prefix&amp;gt;rule="&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;"&amp;lt;/suffix&amp;gt;
      &amp;lt;default&amp;gt;&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input id="dvc_id" token="dvc" type="text"&amp;gt;
      &amp;lt;label&amp;gt;Device&amp;lt;/label&amp;gt;
      &amp;lt;prefix&amp;gt;dvc="&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;"&amp;lt;/suffix&amp;gt;
      &amp;lt;default&amp;gt;&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input id="category_id" token="category_form" type="multiselect"&amp;gt;
      &amp;lt;label&amp;gt;Category&amp;lt;/label&amp;gt;
      &amp;lt;choice value=""&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;earliest&amp;gt;-1s&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;query&amp;gt;| `categories`&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;category&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;category&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;default&amp;gt;pci&amp;lt;/default&amp;gt;
      &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
      &amp;lt;valuePrefix&amp;gt;`get_category(&amp;lt;/valuePrefix&amp;gt;
      &amp;lt;valueSuffix&amp;gt;)`&amp;lt;/valueSuffix&amp;gt;
      &amp;lt;prefix&amp;gt;(&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;)&amp;lt;/suffix&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input id="pci_domain_id" token="pci_domain_form" type="multiselect"&amp;gt;
      &amp;lt;label&amp;gt;PCI Domain&amp;lt;/label&amp;gt;
      &amp;lt;choice value=""&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;earliest&amp;gt;-1s&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;query&amp;gt;| `pci_domains`&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;pci_domain&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;pci_domain&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;default&amp;gt;&amp;lt;/default&amp;gt;
      &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
      &amp;lt;valuePrefix&amp;gt;`get_pci_domain(&amp;lt;/valuePrefix&amp;gt;
      &amp;lt;valueSuffix&amp;gt;)`&amp;lt;/valueSuffix&amp;gt;
      &amp;lt;prefix&amp;gt;(&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;)&amp;lt;/suffix&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input id="zero_activity_rules_id" token="zero_activity_rules" type="checkbox"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;choice value="0"&amp;gt;Rules Without Activity&amp;lt;/choice&amp;gt;
      &amp;lt;prefix&amp;gt;Total=&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;&amp;lt;/suffix&amp;gt;
      &amp;lt;default&amp;gt;&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table id="table1"&amp;gt;
        &amp;lt;title&amp;gt;Activity By Month&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| `communication_rule_tracker` 
                        | search $rule$ $dvc$ $category$ $pci_domain$
                        | appendpipe [dedup rule,dvc,vendor_product 
                        | expectedactivity append=F fields="dvc,rule,vendor_product" earliest=-15778463s latest=+0s interval=2160000 
                        | convert timeformat="%m" ctime(_time) as month 
                        | convert timeformat="%Y" ctime(_time) as year] 
                        | eval date=month."-01-".year 
                        | convert timeformat="%m-%d-%Y" mktime(date) as _time 
                        | `daysago(213)`  
                        | convert timeformat="%B" ctime(_time) as month 
                        | fillnull value=0 count 
                        | eval date=month." (".year.")" 
                        | eval drvp=rule."|".dvc." (".vendor_product.")" 
                        | chart sum(count) as count over drvp by date 
                        | makemv delim="|" drvp 
                        | sorttimecols timeformat="%B (%Y)" direction=asc 
                        | makemv delim="|" drvp 
                        | rename drvp as rule 
                        | addtotals 
                        | sort - Total 
                        | search $zero_activity_rules$
                        | fields - Total&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link&amp;gt;search?q=| from inputlookup:communication_rule_tracker | eval drvp=rule.",".dvc." (".vendor_product.")" | makemv delim="|" drvp | search drvp="$row.rule$" | fields - drvp &amp;amp;amp;auto_pause=$auto_pause$&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 26 Apr 2023 09:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/641400#M52371</guid>
      <dc:creator>Zer0sss</dc:creator>
      <dc:date>2023-04-26T09:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: A custom JavaScript error caused an issue loading your dashboard.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/642330#M52464</link>
      <description>&lt;P&gt;You can solve the error by entering the configuration panel-server configuration -internal libraries -and enable old versions&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 18:01:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/642330#M52464</guid>
      <dc:creator>Ahiory125</dc:creator>
      <dc:date>2023-05-04T18:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving "A custom JavaScript error caused an issue loading your dashboard"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/647987#M53012</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;,&lt;/P&gt;&lt;P&gt;I used your javascript it restricted the error popping out from the dashboard but it impacts the filter that are in the dashboard. The filter dropdown doesn't work and after few clicks the filter vanishes. I have copied the console details below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spkriyaz_0-1687453575604.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25977i56398F98295C5A7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spkriyaz_0-1687453575604.png" alt="spkriyaz_0-1687453575604.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spkriyaz_1-1687453724897.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25978i101C661C42BFFFB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spkriyaz_1-1687453724897.png" alt="spkriyaz_1-1687453724897.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spkriyaz_2-1687453774853.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25979i9770F14B4472D35D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spkriyaz_2-1687453774853.png" alt="spkriyaz_2-1687453774853.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 17:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/647987#M53012</guid>
      <dc:creator>spkriyaz</dc:creator>
      <dc:date>2023-06-22T17:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I Receiving "A custom JavaScript error caused an issue loading your dashboard"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/648046#M53023</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/65124"&gt;@spkriyaz&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255644"&gt;@Zer0sss&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try this? Now no other code will be impacted.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;require([
    'underscore',
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/simplexml/ready!'
], function (_, $, mvc) {
    $('[data-test="layer-container"]').on('DOMSubtreeModified', function () {
        console.log('changed two');
        if ($('[aria-label="Toast messages container"]')) {
            console.log("Toast messages container cleared");
            $('[aria-label="Toast messages container"]').empty();
        }
    });
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check &amp;amp; confirm with your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;If any of my replies help you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 08:39:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/648046#M53023</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2023-06-23T08:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I Receiving "A custom JavaScript error caused an issue loading your dashboard"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/648226#M53036</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;,&lt;/P&gt;&lt;P&gt;This solution worked. Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 16:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/648226#M53036</guid>
      <dc:creator>spkriyaz</dc:creator>
      <dc:date>2023-06-26T16:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I Receiving "A custom JavaScript error caused an issue loading your dashboard"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/648231#M53038</link>
      <description>&lt;P&gt;Glad to help you &lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/65124" target="_blank" rel="noopener"&gt;@spkriyaz&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 16:48:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/648231#M53038</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2023-06-26T16:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I Receiving "A custom JavaScript error caused an issue loading your dashboard"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/680522#M55737</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/65124"&gt;@spkriyaz&lt;/a&gt;&amp;nbsp;, Could you please share the detailed step by step procedure to apply this solution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 10:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/680522#M55737</guid>
      <dc:creator>Rakzskull</dc:creator>
      <dc:date>2024-03-13T10:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I Receiving "A custom JavaScript error caused an issue loading your dashboard"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/687147#M56240</link>
      <description>&lt;P&gt;After upgrade 9.2.0. splunk app for AWS&amp;nbsp; got the same error "&lt;SPAN&gt;A custom JavaScript error caused an issue loading your dashboard. See the developer console for more details.".&amp;nbsp;&lt;BR /&gt;Unable to open dashboard.&amp;nbsp; While seeing the&amp;nbsp; developer console, below error shwoing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to bring it back.&amp;nbsp;&lt;/SPAN&gt;&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="kkarthik2_0-1715338337223.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30764i6325F37B6DA1F3D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kkarthik2_0-1715338337223.png" alt="kkarthik2_0-1715338337223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 10:53:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-Receiving-quot-A-custom-JavaScript-error-caused-an/m-p/687147#M56240</guid>
      <dc:creator>kkarthik2</dc:creator>
      <dc:date>2024-05-10T10:53:22Z</dc:date>
    </item>
  </channel>
</rss>

