<?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: OSuser only calculates in desktop application? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595556#M220582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a simple text box with just ='$(vOSUser)' in the expression of the text box - what do you get?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see no reason why this wouldn't return the same as in the Desktop version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given that OSUser() is a lightweight function and has no parameters there is not a lot of advantage to using a variable. You could try just using the OSUser function in place of the variable and see if that helps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2014 21:23:54 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2014-04-18T21:23:54Z</dc:date>
    <item>
      <title>OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595550#M220576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the OSuser() function to retrieve the currently logged in viewer's Employee ID, which I then pass into a field selection in order to apply default selections on Document open. I also have a Reset button that restores the default selections if someone gets click-happy in the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am storing the user's domain name in a variable called vOSuser, which is"=OSuser()"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am developing the document using the desktop application, the variable calculates fine. When I access it through the AccessPoint, it simply returns "=OSuser()"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same is occurring for my vQVuser variable. We are using single-sign on for the web app, so it must be getting the user's domain name, I'm not sure why it won't just pass that into the application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 18:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595550#M220576</guid>
      <dc:creator />
      <dc:date>2014-04-18T18:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595551#M220577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tom,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Did you create this in Settings &amp;gt; Variable Overview? Like&amp;nbsp; vOSUser&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;=&amp;nbsp; OSUser()&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Does it work in Web view&lt;/LI&gt;&lt;LI&gt;Do you have Ajax or IE plugin client&lt;/LI&gt;&lt;LI&gt;If Ajax what browser are you using&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 19:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595551#M220577</guid>
      <dc:creator />
      <dc:date>2014-04-18T19:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595552#M220578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just tried &lt;/P&gt;&lt;P&gt;OSUser()&amp;nbsp;&amp;nbsp; works in Ajax and in IE plugin too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 19:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595552#M220578</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-18T19:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595553#M220579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for responding so quickly. I guess I am not familiar with the Ajax piece of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Google Chrome as my browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the variable by going to Settings &amp;gt; Variable Overview in the document. Is there a different way to create variables that will achieve what I am looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 19:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595553#M220579</guid>
      <dc:creator />
      <dc:date>2014-04-18T19:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595554#M220580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;me too I used that way&lt;/P&gt;&lt;P&gt;there are different ways but the result is the same (you can always see the vars in Settings --&amp;gt; Variable Overview)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used IE 11 (plugin) and Chrome to check (Ajax)&lt;/P&gt;&lt;P&gt;Short:&lt;/P&gt;&lt;P&gt;Ajax is used when you open a Qlik document on Access Point (server) with a non IE browser&lt;/P&gt;&lt;P&gt;With a IE browser you can choose between Ajax and IE plugin (if installed on pc)&lt;/P&gt;&lt;P&gt;If you want to simulate (mmhhhhhhh......) Ajax in Qlik desktop from Menu --&amp;gt; View --&amp;gt; Turn on/off webview&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;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/57573_1.png" style="width: 620px; height: 391px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 19:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595554#M220580</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-18T19:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595555#M220581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo. I will test first thing Monday and post my results. On the face of it, it doesn't appear to be working in Ajax for me. When I am viewing in IE with the plugin set in my profile, the variable calculates as expected. My Ajax results are attached in my first post in the web-app.jpg file. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 20:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595555#M220581</guid>
      <dc:creator />
      <dc:date>2014-04-18T20:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595556#M220582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a simple text box with just ='$(vOSUser)' in the expression of the text box - what do you get?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see no reason why this wouldn't return the same as in the Desktop version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given that OSUser() is a lightweight function and has no parameters there is not a lot of advantage to using a variable. You could try just using the OSUser function in place of the variable and see if that helps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 21:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595556#M220582</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-04-18T21:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595557#M220583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here are the results of my tests...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simulating web view in the desktop app isn't working, I receive the script error below and when I select "Yes" I just get a blank canvas.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="web-view-error.JPG.jpg" class="jive-image jiveImage" src="https://community.qlik.com/legacyfs/online/57632_web-view-error.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;I then decided to test in Firefox and, to my surprise, the variable returns the correct value. For whatever reason, this appears to be a problem isolated to Chrome. Any idea on a browser setting that might be getting in the way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chrome:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chrome-ss.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57633_chrome-ss.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Firefox:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="firefox-ss.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57634_firefox-ss.JPG.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 12:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595557#M220583</guid>
      <dc:creator />
      <dc:date>2014-04-21T12:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595558#M220584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perhaps a different version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my chrome version is &lt;SPAN style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px;"&gt;Version 34.0.1847.116 m&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px;"&gt;the server I used for testing is &lt;/SPAN&gt;&lt;SPAN style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px;"&gt;11.20 SR5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px;"&gt;not sure if this is related to your problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px;"&gt;&lt;A href="https://community.qlik.com/thread/104128"&gt;Impossible to switch to web view: browser does not support XmlDocument objects.&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 12:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595558#M220584</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-21T12:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: OSuser only calculates in desktop application?</title>
      <link>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595559#M220585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The WebView not working was a problem with the latest version of IE and an earlier release of QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would strongly suggest upgrading to 11.2 SR5 on both the Desktop and the Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 14:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSuser-only-calculates-in-desktop-application/m-p/595559#M220585</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-04-21T14:20:10Z</dc:date>
    </item>
  </channel>
</rss>

