<?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 Button macro to reload application from accesspoint. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-macro-to-reload-application-from-accesspoint/m-p/280836#M104479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Im trying to create a button in a qlikview that allows you to reload the application from the accesspoint.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When i create a button and do a macro action and write this code. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sub Reload&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;set App = ActiveDocument.GetApplication&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;set doc1 = App.OpenDoc ("your_document_name_here.qvw","","")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;doc1.reload&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;doc1.save&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'doc1.closedoc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;End sub&lt;A&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the button workes fine and it reloads the document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have administrator writes to reload from the qemc and im in the local group called &lt;STRONG&gt;Qlikview administrator&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i distribute the application to the accesspoint and try to press the button i get this error message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;the explorer opens a new window and says:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="1" style="width: 80%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM style="font-family: Helvetica;"&gt;&lt;BIG&gt;Network Error (dns_unresolved_hostname)&lt;/BIG&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM style="font-family: Helvetica;"&gt;Your requested host "your_document_name_here.qvw" could not be resolved by DNS. &lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM style="font-family: Helvetica;"&gt; &lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM style="font-size: 10pt; font-family: Helvetica;"&gt;&lt;BR /&gt;For assistance, contact your network support team&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im not sure what im doing wrong the url i get is &lt;A href="http://your_document_name_here.qvvw/"&gt;http://your_document_name_here&lt;/A&gt;.qvvw and it looks to be wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;﻿Br&lt;/P&gt;&lt;P&gt;﻿Sahal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2011 11:58:20 GMT</pubDate>
    <dc:creator>Sahal</dc:creator>
    <dc:date>2011-07-14T11:58:20Z</dc:date>
    <item>
      <title>Button macro to reload application from accesspoint.</title>
      <link>https://community.qlik.com/t5/QlikView/Button-macro-to-reload-application-from-accesspoint/m-p/280836#M104479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Im trying to create a button in a qlikview that allows you to reload the application from the accesspoint.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When i create a button and do a macro action and write this code. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sub Reload&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;set App = ActiveDocument.GetApplication&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;set doc1 = App.OpenDoc ("your_document_name_here.qvw","","")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;doc1.reload&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;doc1.save&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'doc1.closedoc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;End sub&lt;A&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the button workes fine and it reloads the document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have administrator writes to reload from the qemc and im in the local group called &lt;STRONG&gt;Qlikview administrator&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i distribute the application to the accesspoint and try to press the button i get this error message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;the explorer opens a new window and says:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="1" style="width: 80%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM style="font-family: Helvetica;"&gt;&lt;BIG&gt;Network Error (dns_unresolved_hostname)&lt;/BIG&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM style="font-family: Helvetica;"&gt;Your requested host "your_document_name_here.qvw" could not be resolved by DNS. &lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM style="font-family: Helvetica;"&gt; &lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM style="font-size: 10pt; font-family: Helvetica;"&gt;&lt;BR /&gt;For assistance, contact your network support team&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im not sure what im doing wrong the url i get is &lt;A href="http://your_document_name_here.qvvw/"&gt;http://your_document_name_here&lt;/A&gt;.qvvw and it looks to be wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;﻿Br&lt;/P&gt;&lt;P&gt;﻿Sahal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 11:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-macro-to-reload-application-from-accesspoint/m-p/280836#M104479</guid>
      <dc:creator>Sahal</dc:creator>
      <dc:date>2011-07-14T11:58:20Z</dc:date>
    </item>
  </channel>
</rss>

