Dashboards & Visualizations

help me with error in XML for a dashboard

sravankaripe
Communicator

while i am trying to update
<a target="_blank" href="/app/search/user_details_v2?form.field4.earliest=-4h%40m&form.field4.latest=now&form.field3=&earliest=0&latest=">Get User Details</a>

in the below Xml i am getting error as

Encountered the following error while trying to update: In handler 'views': Error parsing XML on line 50: EntityRef: expecting ';'

<row>





    <table style="width:30%">
              <td>
        <a href="/app/search/user_details_v2?form.field4.earliest=-4h%40m&form.field4.latest=now&form.field3=&earliest=0&latest="  target="_blank">Get User Details</a>
        </td>
    </table>
    </body>
    </html>
</panel>

</row>

please help me to resolve this.

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi sravankaripe,
where you have & put &amp;
Bye.
Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi sravankaripe,
where you have & put &amp;
Bye.
Giuseppe

0 Karma

woodcock
Esteemed Legend

You can also solve this with CDATA.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...