<?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: Adding link to SharePoint document in XML in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313420#M166296</link>
    <description>&lt;P&gt;Try putting it between link and href&lt;/P&gt;</description>
    <pubDate>Wed, 30 Aug 2017 21:40:06 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-08-30T21:40:06Z</dc:date>
    <item>
      <title>Adding link to SharePoint document in XML</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313417#M166293</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;Tried a bunch of different recommendations for adding a hyperlink to a document (site) to no avail.  My wish is to add a link at the top of each Dashboard that takes the dashboard auditor to the current reference audit guide.  I believe the SharePoint link (with it's crazy characters it the issue).  Below is the closest I've gotten.&lt;BR /&gt;
"Code Sample&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;searchname&amp;gt; Audit Guide &amp;lt;/searchname&amp;gt;
   &amp;lt;drilldown&amp;gt;
      &amp;lt;link href="https://teams.ga.com/ITS/ITDocCtr/_layouts/WordViewer.aspx?id=%2FITS%2FITDocCtr%2FDocuments%2FSI%2D6100%2D1%20Audit%20Guide%2Edocx&amp;amp;source=https%3A%2F%2Fteams%2Ega%2Ecom%2FITS%2FITDocCtr%2FDocuments%2FForms%2FAllItems%2Easpx%3FPaged%3DTRUE%26p%5FFileLeafRef%3DDSec%252d8133%2520Creating%2520Tickets%2520with%2520ASG%252edocx%26p%5FID%3D734%26PageFirstRow%3D601%26%26View%3D%7BA5C21B15%2D70AF%2D41D8%2D8D54%2D7695FD9C01A8%7D"&amp;lt;/link&amp;gt;
    &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;"&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 20:48:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313417#M166293</guid>
      <dc:creator>gabarrygowin</dc:creator>
      <dc:date>2017-08-30T20:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding link to SharePoint document in XML</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313418#M166294</link>
      <description>&lt;P&gt;@gabarrygowin, there is an an ampersand sign in your URL which needs to be escaped as &lt;CODE&gt;&amp;amp;amp;&lt;/CODE&gt; in Splunk Dashboard. Try the following method:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;drilldown&amp;gt;
      &amp;lt;link target="_blank"&amp;gt;https://teams.ga.com/ITS/ITDocCtr/_layouts/WordViewer.aspx?id=%2FITS%2FITDocCtr%2FDocuments%2FSI-6100-1%20Audit%20Guide%2Edocx&amp;amp;amp;source=https%3A%2F%2Fteams%2Ega%2Ecom%2FITS%2FITDocCtr%2FDocuments%2FForms%2FAllItems%2Easpx%3FPaged%3DTRUE%26p_FileLeafRef%3DDSec%252d8133%2520Creating%2520Tickets%2520with%2520ASG%252edocx%26p_ID%3D734%26PageFirstRow%3D601%26%26View%3D%7BA5C21B15-70AF-41D8-8D54-7695FD9C01A8%7D&amp;lt;/link&amp;gt;
    &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PS: Adding &lt;CODE&gt;target="_balnk"&lt;/CODE&gt; will open the link in new browser.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 21:06:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313418#M166294</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-08-30T21:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding link to SharePoint document in XML</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313419#M166295</link>
      <description>&lt;P&gt;Nike!&lt;/P&gt;

&lt;P&gt;Thanks you got me past the URL issue.  I converted to a href (hope that's correct/best way).  Seems to work.&lt;/P&gt;

&lt;P&gt;Now some clean-up, if I may.  &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Where (if I can at all) do I put the target="_blank" in a href call?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 21:23:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313419#M166295</guid>
      <dc:creator>gabarrygowin</dc:creator>
      <dc:date>2017-08-30T21:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding link to SharePoint document in XML</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313420#M166296</link>
      <description>&lt;P&gt;Try putting it between link and href&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 21:40:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313420#M166296</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-08-30T21:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding link to SharePoint document in XML</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313421#M166297</link>
      <description>&lt;P&gt;Perfect and many thanks!  &lt;/P&gt;

&lt;P&gt;Just for others, here's my code, or Nike's code:&lt;/P&gt;

&lt;P&gt;"Code Sample...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;html&amp;gt;
    &amp;lt;a target="_blank" href="https://teams.ga.com/ITS/ITDocCtr/_layouts/WordViewer.aspx?id=%2FITS%2FITDocCtr%2FDocuments%2FSI-6100-1%20Audit%20Guide%2Edocx&amp;amp;amp;source=https%3A%2F%2Fteams%2Ega%2Ecom%2FITS%2FITDocCtr%2FDocuments%2FForms%2FAllItems%2Easpx%3FPaged%3DTRUE%26p_FileLeafRef%3DDSec%252d8133%2520Creating%2520Tickets%2520with%2520ASG%252edocx%26p_ID%3D734%26PageFirstRow%3D601%26%26View%3D%7BA5C21B15-70AF-41D8-8D54-7695FD9C01A8%7D"&amp;gt;Current ITS Audit Guide (SI-6100-1)&amp;lt;/a&amp;gt;
    &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;"&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 21:49:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-link-to-SharePoint-document-in-XML/m-p/313421#M166297</guid>
      <dc:creator>gabarrygowin</dc:creator>
      <dc:date>2017-08-30T21:49:11Z</dc:date>
    </item>
  </channel>
</rss>

