<?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 Accessing parameters in URL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accessing-parameters-in-URL/m-p/168438#M1287102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have modified my code because initially I had F1 as a field and variable. I changed it to :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;set myVar = ActiveDocument.Variables("Var1").GetContent.String&lt;BR /&gt; set TgtCurr = ActiveDocument.GetField("F1")&lt;BR /&gt; TgtCurr.Select myVar&lt;/P&gt;&lt;P&gt;&lt;B&gt;Under Settings Variable Overview, I added variables for both myVar and Var1.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;When I run the above, I get:&lt;/P&gt;&lt;P&gt;Macro parse failed. Functionality was lost&lt;BR /&gt;SelectDefaultSettings&lt;BR /&gt;Error: Object required: '[string: "2"]'&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2009 23:50:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-14T23:50:02Z</dc:date>
    <item>
      <title>Accessing parameters in URL</title>
      <link>https://community.qlik.com/t5/QlikView/Accessing-parameters-in-URL/m-p/168436#M1287098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have a working example of how to read parameters from a url. I have seen several posts with code like the below but it isn't working for me. I have the below code on the OnOpen event.&lt;/P&gt;&lt;P&gt;The url: &lt;A href="http://us5076webd/QvPlugin/opendoc.htm?document=AP%20Published/test.qvw?F1=5" target="_blank"&gt;http://us5076webd/QvPlugin/opendoc.htm?document=AP%20Published/test.qvw?F1=5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;sub&lt;/B&gt; SelectDefaultSettings&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;end&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;sub&lt;/B&gt; myCurrency = ActiveDocument.GetVariable("F1").GetContent. &lt;B&gt;String&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;set&lt;/B&gt; ActiveDocument.Field("F1"). &lt;B&gt;Select&lt;/B&gt; myCurrency&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accessing-parameters-in-URL/m-p/168436#M1287098</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Accessing parameters in URL</title>
      <link>https://community.qlik.com/t5/QlikView/Accessing-parameters-in-URL/m-p/168437#M1287100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is F1 predefined in the document? You must predefine variables to be able to receive them as parameters.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 23:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accessing-parameters-in-URL/m-p/168437#M1287100</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-10-14T23:01:52Z</dc:date>
    </item>
    <item>
      <title>Accessing parameters in URL</title>
      <link>https://community.qlik.com/t5/QlikView/Accessing-parameters-in-URL/m-p/168438#M1287102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have modified my code because initially I had F1 as a field and variable. I changed it to :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;set myVar = ActiveDocument.Variables("Var1").GetContent.String&lt;BR /&gt; set TgtCurr = ActiveDocument.GetField("F1")&lt;BR /&gt; TgtCurr.Select myVar&lt;/P&gt;&lt;P&gt;&lt;B&gt;Under Settings Variable Overview, I added variables for both myVar and Var1.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;When I run the above, I get:&lt;/P&gt;&lt;P&gt;Macro parse failed. Functionality was lost&lt;BR /&gt;SelectDefaultSettings&lt;BR /&gt;Error: Object required: '[string: "2"]'&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 23:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accessing-parameters-in-URL/m-p/168438#M1287102</guid>
      <dc:creator />
      <dc:date>2009-10-14T23:50:02Z</dc:date>
    </item>
    <item>
      <title>Accessing parameters in URL</title>
      <link>https://community.qlik.com/t5/QlikView/Accessing-parameters-in-URL/m-p/168439#M1287104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove "set" from "set myVar....".&lt;/P&gt;&lt;P&gt;Set is only used when the function returns a type of Object.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 09:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accessing-parameters-in-URL/m-p/168439#M1287104</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-10-15T09:03:15Z</dc:date>
    </item>
  </channel>
</rss>

