<?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: Document Chaining Sheet Navigation issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Document-Chaining-Sheet-Navigation-issue/m-p/915713#M991020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need a macro to do that.&lt;/P&gt;&lt;P&gt;I was facing the same issue some time ago and our external consultant wrote us a macro, a very simple one. I paste the code here, it's no secret - and it's really easy.&lt;/P&gt;&lt;P&gt;The trick is, you need an Inline_table - exactly the same in all applications involved in the chaining_scheme.&lt;/P&gt;&lt;P&gt;Then you transfer that selection and you have to set up/ adapt the macro to identify that selection and open the corresponding worksheet - there are just two options in the macro right now, but I guess you can make that just as many as you want, you just have to use an "elseif".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_______________________________________________-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub Arbeitsblatt_Selektion&lt;/P&gt;&lt;P&gt;set sel = ActiveDocument.fields("__KPI").GetSelectedValues&lt;/P&gt;&lt;P&gt;if sel.count = 0 then exit sub&lt;/P&gt;&lt;P&gt; Diagramm = sel.Item(0).text&lt;/P&gt;&lt;P&gt;if Diagramm = "Fluktuation" then&lt;/P&gt;&lt;P&gt; Diagramm = "SH19"&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt; Diagramm = "SH02"&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.Sheets(Diagramm).Activate&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 09:37:34 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-07-27T09:37:34Z</dc:date>
    <item>
      <title>Document Chaining Sheet Navigation issue</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Chaining-Sheet-Navigation-issue/m-p/915710#M991017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have two applications in our project and we are implementing document chaining to integrate two applications.&lt;/P&gt;&lt;P&gt;While implementing the Document chaining one requirement came up that is if we are in sheet A while navigating from app1 to app2,&lt;/P&gt;&lt;P&gt;same sheet should be opened on app2.&lt;/P&gt;&lt;P&gt;Here i am attaching a sample applications test.qvw,test2.qvw.&lt;/P&gt;&lt;P&gt;i have three sheets A,B,C in both applications.&lt;/P&gt;&lt;P&gt;if i am in sheet A of test App, navigating to Test2 App----Test2 should be opened in Sheet A&lt;/P&gt;&lt;P&gt;if i am in Sheet B of test App,navigating to Test2 App-----Test2 should be opened in sheet B.&lt;/P&gt;&lt;P&gt;Same from Test2 to Test App for all sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 09:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Chaining-Sheet-Navigation-issue/m-p/915710#M991017</guid>
      <dc:creator />
      <dc:date>2015-07-27T09:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Document Chaining Sheet Navigation issue</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Chaining-Sheet-Navigation-issue/m-p/915711#M991018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In button(On click opening Test2 APP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enable Transfer state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apply some triggers in both the applications&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 09:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Chaining-Sheet-Navigation-issue/m-p/915711#M991018</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2015-07-27T09:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Document Chaining Sheet Navigation issue</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Chaining-Sheet-Navigation-issue/m-p/915712#M991019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer state was enabled and i am able to transfer the selection and my requirement is like to navigate to the same sheet in the second application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 09:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Chaining-Sheet-Navigation-issue/m-p/915712#M991019</guid>
      <dc:creator />
      <dc:date>2015-07-27T09:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Document Chaining Sheet Navigation issue</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Chaining-Sheet-Navigation-issue/m-p/915713#M991020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need a macro to do that.&lt;/P&gt;&lt;P&gt;I was facing the same issue some time ago and our external consultant wrote us a macro, a very simple one. I paste the code here, it's no secret - and it's really easy.&lt;/P&gt;&lt;P&gt;The trick is, you need an Inline_table - exactly the same in all applications involved in the chaining_scheme.&lt;/P&gt;&lt;P&gt;Then you transfer that selection and you have to set up/ adapt the macro to identify that selection and open the corresponding worksheet - there are just two options in the macro right now, but I guess you can make that just as many as you want, you just have to use an "elseif".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_______________________________________________-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub Arbeitsblatt_Selektion&lt;/P&gt;&lt;P&gt;set sel = ActiveDocument.fields("__KPI").GetSelectedValues&lt;/P&gt;&lt;P&gt;if sel.count = 0 then exit sub&lt;/P&gt;&lt;P&gt; Diagramm = sel.Item(0).text&lt;/P&gt;&lt;P&gt;if Diagramm = "Fluktuation" then&lt;/P&gt;&lt;P&gt; Diagramm = "SH19"&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt; Diagramm = "SH02"&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.Sheets(Diagramm).Activate&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 09:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Chaining-Sheet-Navigation-issue/m-p/915713#M991020</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-27T09:37:34Z</dc:date>
    </item>
  </channel>
</rss>

