<?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 Getting Live Census via Interconnect over HTTPS in QV in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/Getting-Live-Census-via-Interconnect-over-HTTPS-in-QV/m-p/1481549#M294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've shared this macro with a few individuals before, but thought it might be worth sharing to the whole group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro is a reusable function to hit Epic's Interconnect server in VB Script during a QV reload. It would in theory work with any of the SOAP web services provided with Epic. GetCurrentCensus and GetWaitTimes are the only two I've played with. I'm sure there's certainly ways to streamline this or make it better, so let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function at the top of the text file should be loaded into the Macro module. Everything below the function is a sample QV script for GetCurrentCensus that loops through and gets the current census for each department in our hospital. For each record it will create an XML file of the web service response from Interconnect and then immediately load it into the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script, the variable vGetCensusSoap is populated with the frame of the XML request, with in my case one parameter for the department id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside of each loop, I create a unique XML request with SET vSOAPRequest = $(vGetCensusSOAP($(vDeptID))) and then fire off the request to Interconnect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESPONSE:&lt;/P&gt;&lt;P&gt;LOAD &lt;SPAN style="font-size: 10pt;"&gt;EpicInterconnect('$(vSOAPRequest)','$(vSOAPURL)','$(vSOAPAction)','$(vSOAPURN)','$(vSOAPURNAction)','$(vDeptID)','$(vFileLocation)','$(vFileNamingConvention)','$(vFileExtension)') as RESPONSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; AUTOGENERATE 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything below that loads the xml files and connects the data to get a single census table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SSL Certificate for interconnect server is on Qlikview server&lt;/LI&gt;&lt;LI&gt;Qlikview macro is given system access&lt;/LI&gt;&lt;LI&gt;An Epic username and password that has interconnect access. In our case we have a service account&lt;/LI&gt;&lt;LI&gt;Update the code to include your usernames/passwords/interconnect URLS/Firleshares/certificate locations. I've scrubbed all of ours out. The components of the SOAP header for Nonce and Created may be necessary on your server, it was for us, but I don't know enough to say for sure. I was able to work with our system admins on that piece, but here's a good link for information on this:&lt;BR /&gt;&lt;A href="https://www.oasis-open.org/committees/download.php/13392/wss-v1.1-spec-pr-UsernameTokenProfile-01.htm" title="https://www.oasis-open.org/committees/download.php/13392/wss-v1.1-spec-pr-UsernameTokenProfile-01.htm" target="_blank"&gt;https://www.oasis-open.org/committees/download.php/13392/wss-v1.1-spec-pr-UsernameTokenProfile-01.htm&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resulting Table (Rename fields as needed in the script)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="145159" alt="census_dm_sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145159_census_dm_sample.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2025 14:29:37 GMT</pubDate>
    <dc:creator>dclark0699</dc:creator>
    <dc:date>2025-07-22T14:29:37Z</dc:date>
    <item>
      <title>Getting Live Census via Interconnect over HTTPS in QV</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Getting-Live-Census-via-Interconnect-over-HTTPS-in-QV/m-p/1481549#M294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've shared this macro with a few individuals before, but thought it might be worth sharing to the whole group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro is a reusable function to hit Epic's Interconnect server in VB Script during a QV reload. It would in theory work with any of the SOAP web services provided with Epic. GetCurrentCensus and GetWaitTimes are the only two I've played with. I'm sure there's certainly ways to streamline this or make it better, so let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function at the top of the text file should be loaded into the Macro module. Everything below the function is a sample QV script for GetCurrentCensus that loops through and gets the current census for each department in our hospital. For each record it will create an XML file of the web service response from Interconnect and then immediately load it into the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script, the variable vGetCensusSoap is populated with the frame of the XML request, with in my case one parameter for the department id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside of each loop, I create a unique XML request with SET vSOAPRequest = $(vGetCensusSOAP($(vDeptID))) and then fire off the request to Interconnect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESPONSE:&lt;/P&gt;&lt;P&gt;LOAD &lt;SPAN style="font-size: 10pt;"&gt;EpicInterconnect('$(vSOAPRequest)','$(vSOAPURL)','$(vSOAPAction)','$(vSOAPURN)','$(vSOAPURNAction)','$(vDeptID)','$(vFileLocation)','$(vFileNamingConvention)','$(vFileExtension)') as RESPONSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; AUTOGENERATE 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything below that loads the xml files and connects the data to get a single census table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SSL Certificate for interconnect server is on Qlikview server&lt;/LI&gt;&lt;LI&gt;Qlikview macro is given system access&lt;/LI&gt;&lt;LI&gt;An Epic username and password that has interconnect access. In our case we have a service account&lt;/LI&gt;&lt;LI&gt;Update the code to include your usernames/passwords/interconnect URLS/Firleshares/certificate locations. I've scrubbed all of ours out. The components of the SOAP header for Nonce and Created may be necessary on your server, it was for us, but I don't know enough to say for sure. I was able to work with our system admins on that piece, but here's a good link for information on this:&lt;BR /&gt;&lt;A href="https://www.oasis-open.org/committees/download.php/13392/wss-v1.1-spec-pr-UsernameTokenProfile-01.htm" title="https://www.oasis-open.org/committees/download.php/13392/wss-v1.1-spec-pr-UsernameTokenProfile-01.htm" target="_blank"&gt;https://www.oasis-open.org/committees/download.php/13392/wss-v1.1-spec-pr-UsernameTokenProfile-01.htm&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resulting Table (Rename fields as needed in the script)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="145159" alt="census_dm_sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145159_census_dm_sample.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2025 14:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Getting-Live-Census-via-Interconnect-over-HTTPS-in-QV/m-p/1481549#M294</guid>
      <dc:creator>dclark0699</dc:creator>
      <dc:date>2025-07-22T14:29:37Z</dc:date>
    </item>
  </channel>
</rss>

