<?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: Form Text Box to URL in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127842#M7572</link>
    <description>&lt;P&gt;Any specific error your are getting in the iFrame panel??&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2013 22:01:14 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2013-11-04T22:01:14Z</dc:date>
    <item>
      <title>Form Text Box to URL</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127838#M7568</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;I would like to create a text input in which I can enter a URL and then click submit then the panel below would display an internet webpage.&lt;/P&gt;

&lt;P&gt;To better explain, I would enter &lt;STRONG&gt;ak.imgfarm.com&lt;/STRONG&gt; then click submit&lt;/P&gt;

&lt;P&gt;and the panel below would display the webpage:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.google.com/safebrowsing/diagnostic?site=**ak.imgfarm.com**"&gt;http://www.google.com/safebrowsing/diagnostic?site=**ak.imgfarm.com**&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 17:47:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127838#M7568</guid>
      <dc:creator>ccsfdave</dc:creator>
      <dc:date>2013-11-04T17:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Form Text Box to URL</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127839#M7569</link>
      <description>&lt;P&gt;See the answer below. Its shows the ways to show a webpage in the panel. Further, you can save the value of the textbox in a variable and dynamically assign in the IFrameInclude module property (if using Core SPlunk xml) or iframe tag of Sideview HTML module.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/75592/panel-to-show-a-web-page-like-googlecom"&gt;ShowWebPageInAPanel&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 18:41:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127839#M7569</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-04T18:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Form Text Box to URL</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127840#M7570</link>
      <description>&lt;P&gt;what am I doing wrong?&lt;/P&gt;

&lt;P&gt;&lt;MODULE name="URLLoader" layoutpanel="panel_row1_col1" autorun="True"&gt;&lt;/MODULE&gt;&lt;/P&gt;

&lt;P&gt;&lt;MODULE name="TextField"&gt;&lt;BR /&gt;
&lt;OBJECT&gt;&lt;PARAM name="name" /&gt;url&lt;BR /&gt;
&lt;PARAM name="label" /&gt;Enter the URL you would like to check: &lt;BR /&gt;
&lt;PARAM name="float" /&gt;left&lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;

&lt;P&gt;&lt;MODULE name="Button"&gt;&lt;BR /&gt;
&lt;OBJECT&gt;&lt;PARAM name="allowSoftSubmit" /&gt;True&lt;BR /&gt;
&lt;PARAM name="label" /&gt;Refresh&lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 20:42:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127840#M7570</guid>
      <dc:creator>ccsfdave</dc:creator>
      <dc:date>2013-11-04T20:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Form Text Box to URL</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127841#M7571</link>
      <description>&lt;P&gt;&lt;MODULE name="ValueSetter"&gt;&lt;BR /&gt;
&lt;OBJECT&gt;&lt;PARAM name="name" /&gt;url&lt;BR /&gt;
&lt;PARAM name="urlEncodeKeys" /&gt;url&lt;BR /&gt;
&lt;PARAM name="value" /&gt;$url$&lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;

&lt;P&gt;&lt;MODULE name="HTML" layoutpanel="panel_row1_col2"&gt;&lt;BR /&gt;
&lt;OBJECT&gt;&lt;PARAM name="html" /&gt;&amp;lt;![CDATA[&lt;BR /&gt;
&lt;IFRAME id="googleurl" name="googleurl" src="http://www.google.com/safebrowsing/diagnostic?site=$url$"&gt;&lt;/IFRAME&gt;]]&amp;gt;&lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 20:42:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127841#M7571</guid>
      <dc:creator>ccsfdave</dc:creator>
      <dc:date>2013-11-04T20:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Form Text Box to URL</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127842#M7572</link>
      <description>&lt;P&gt;Any specific error your are getting in the iFrame panel??&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 22:01:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127842#M7572</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-04T22:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Form Text Box to URL</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127843#M7573</link>
      <description>&lt;P&gt;Try the following: If you get any error like "The content cannot be displayed in a frame", try adding the URL in your trusted sites.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;view autoCancelInterval="90" isVisible="true" onunloadCancelJobs="true" template="dashboard.html" stylesheet="application.css"&amp;gt;
    &amp;lt;label&amp;gt;Test Sideview IFrame&amp;lt;/label&amp;gt;
    &amp;lt;module name="AccountBar" layoutPanel="appHeader"/&amp;gt;
    &amp;lt;module name="AppBar" layoutPanel="appHeader" /&amp;gt;
    &amp;lt;module name="SideviewUtils" layoutPanel="appHeader" /&amp;gt;
    &amp;lt;module name="Message" layoutPanel="messaging"&amp;gt;
        &amp;lt;param name="filter"&amp;gt;*&amp;lt;/param&amp;gt;
        &amp;lt;param name="clearOnJobDispatch"&amp;gt;False&amp;lt;/param&amp;gt;
        &amp;lt;param name="maxSize"&amp;gt;1&amp;lt;/param&amp;gt;
    &amp;lt;/module&amp;gt;
    &amp;lt;module name="Message" layoutPanel="messaging"&amp;gt;
        &amp;lt;param name="filter"&amp;gt;splunk.search.job&amp;lt;/param&amp;gt;
        &amp;lt;param name="clearOnJobDispatch"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;param name="maxSize"&amp;gt;1&amp;lt;/param&amp;gt;
    &amp;lt;/module&amp;gt;


    &amp;lt;module name="URLLoader" layoutPanel="panel_row1_col1" autorun="True"&amp;gt;
        &amp;lt;module name="TextField"&amp;gt;
            &amp;lt;param name="name"&amp;gt;url&amp;lt;/param&amp;gt;
            &amp;lt;param name="label"&amp;gt;Enter the URL you would like to check:&amp;lt;/param&amp;gt; 
            &amp;lt;param name="float"&amp;gt;left&amp;lt;/param&amp;gt;
            &amp;lt;module name="Button" layoutPanel="panel_row1_col1"&amp;gt;
                &amp;lt;param name="allowSoftSubmit"&amp;gt;True&amp;lt;/param&amp;gt;
                &amp;lt;param name="label"&amp;gt;Refresh&amp;lt;/param&amp;gt;
                &amp;lt;module name="ValueSetter" layoutPanel="panel_row1_col1"&amp;gt;
                    &amp;lt;param name="name"&amp;gt;url&amp;lt;/param&amp;gt;
                    &amp;lt;param name="urlEncodeKeys"&amp;gt;url&amp;lt;/param&amp;gt;
                    &amp;lt;param name="value"&amp;gt;$url$&amp;lt;/param&amp;gt;
                    &amp;lt;module name="HTML" layoutPanel="panel_row1_col2"&amp;gt;
                        &amp;lt;param name="html"&amp;gt;
                        &amp;lt;![CDATA[
                        &amp;lt;iframe id="googleurl" name="googleurl" src="http://www.google.com/safebrowsing/diagnostic?site=$url$"&amp;gt;&amp;lt;/iframe&amp;gt;
                        ]]&amp;gt;&amp;lt;/param&amp;gt;
                    &amp;lt;/module&amp;gt;
                &amp;lt;/module&amp;gt;
            &amp;lt;/module&amp;gt;
        &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
&amp;lt;/view&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Nov 2013 22:06:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127843#M7573</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-04T22:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Form Text Box to URL</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127844#M7574</link>
      <description>&lt;P&gt;Unfortunately this doesn't work.  I get a text submission box on the left with a submit button.  On the right I show an empty "text area" like box.  What I would like to show is the webpage&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 17:47:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127844#M7574</guid>
      <dc:creator>ccsfdave</dc:creator>
      <dc:date>2013-11-05T17:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Form Text Box to URL</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127845#M7575</link>
      <description>&lt;P&gt;The approach works fine, but what's happening is that that particular site doesn't allow "cross-origin-framing". &lt;/P&gt;

&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options"&gt;https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you dig around and turn on the console,  look you'll see this little error coming out in your browser's console. &lt;/P&gt;

&lt;P&gt;Load denied by X-Frame-Options: &lt;A href="http://www.google.com/safebrowsing/diagnostic?site=google.com"&gt;http://www.google.com/safebrowsing/diagnostic?site=google.com&lt;/A&gt; does not permit cross-origin framing.&lt;/P&gt;

&lt;P&gt;If i put one of my own domains that &lt;EM&gt;doesnt&lt;/EM&gt; do any magic with X-Frame-Options, then somesoni2's XML works fine. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 17:57:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127845#M7575</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-11-06T17:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Form Text Box to URL</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127846#M7576</link>
      <description>&lt;P&gt;Yup, now I see it is Google's safebrowsing site that doesn't work but the above XML works like a charm.  I added some sizing to the iFrame tag but the main functionality is there.  Thanks @somesoni2 &amp;amp; @sideview&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 20:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Form-Text-Box-to-URL/m-p/127846#M7576</guid>
      <dc:creator>ccsfdave</dc:creator>
      <dc:date>2013-11-06T20:53:41Z</dc:date>
    </item>
  </channel>
</rss>

