<?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: Error while creating Dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-receiving-error-while-adding-query-to-dashboard/m-p/628775#M51568</link>
    <description>&lt;P&gt;Inside the XML you need to escape characters&lt;/P&gt;&lt;P&gt;so&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|eval Category=case (Ratings &amp;amp;gt; "8","Promoter",Ratings &amp;amp;gt;  "7","Detractor",Ratings &amp;amp;gt;  "6" AND Ratings &amp;amp;lt; "9", "Passive")&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#:~:text=XML%20escape%20characters,the%20W3C%20Markup%20Validation%20Service" target="_blank"&gt;https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#:~:text=XML%20escape%20characters,the%20W3C%20Markup%20Validation%20Service&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Actually you don't need to escape the &amp;gt; to &amp;amp;gt; but it's probably good practice.&lt;/P&gt;</description>
    <pubDate>Sun, 29 Jan 2023 23:34:01 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-01-29T23:34:01Z</dc:date>
    <item>
      <title>Why am I receiving error while adding query to dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-receiving-error-while-adding-query-to-dashboard/m-p/628774#M51567</link>
      <description>&lt;P&gt;Hi Experts,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While adding below query to my dashboard i am getting error saying&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;|eval Category=case (Ratings&amp;gt;"8","Promoter",Ratings &amp;gt; "7","Detractor",Ratings &amp;gt; "6" AND Ratings &amp;lt; "9", "Passive")&lt;/P&gt;
&lt;P&gt;Error:&amp;nbsp;&lt;SPAN&gt;Unencoded &amp;lt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Macky_29_0-1675029081860.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23604i3B21AFD53E03B41D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Macky_29_0-1675029081860.png" alt="Macky_29_0-1675029081860.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Mayank&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 16:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-receiving-error-while-adding-query-to-dashboard/m-p/628774#M51567</guid>
      <dc:creator>Macky_29</dc:creator>
      <dc:date>2023-01-30T16:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-receiving-error-while-adding-query-to-dashboard/m-p/628775#M51568</link>
      <description>&lt;P&gt;Inside the XML you need to escape characters&lt;/P&gt;&lt;P&gt;so&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|eval Category=case (Ratings &amp;amp;gt; "8","Promoter",Ratings &amp;amp;gt;  "7","Detractor",Ratings &amp;amp;gt;  "6" AND Ratings &amp;amp;lt; "9", "Passive")&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#:~:text=XML%20escape%20characters,the%20W3C%20Markup%20Validation%20Service" target="_blank"&gt;https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#:~:text=XML%20escape%20characters,the%20W3C%20Markup%20Validation%20Service&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Actually you don't need to escape the &amp;gt; to &amp;amp;gt; but it's probably good practice.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 23:34:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-receiving-error-while-adding-query-to-dashboard/m-p/628775#M51568</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-01-29T23:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-receiving-error-while-adding-query-to-dashboard/m-p/628824#M51573</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253271"&gt;@Macky_29&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Below is the mapping of special characters with html entty, either you can use mapping word&lt;BR /&gt;&lt;BR /&gt;enclose the query in cdata tags&lt;/P&gt;&lt;PRE&gt;&amp;lt;![CDATA[
&amp;lt;content_with_special_characters&amp;gt;
]]&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/OverviewofSimplifiedXML" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/OverviewofSimplifiedXML&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SanjayReddy_0-1675082027619.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23605iA12DB72CA084DF88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SanjayReddy_0-1675082027619.png" alt="SanjayReddy_0-1675082027619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 12:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-receiving-error-while-adding-query-to-dashboard/m-p/628824#M51573</guid>
      <dc:creator>SanjayReddy</dc:creator>
      <dc:date>2023-01-30T12:35:56Z</dc:date>
    </item>
  </channel>
</rss>

