<?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 Error in webclient 6.5 - (fling sdk) setGlobalRefreshHandler is not a function  in vSphere Client SDK Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Error-in-webclient-6-5-fling-sdk-setGlobalRefreshHandler-is-not/m-p/1381756#M2505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;using fling sdk and with the angular component file have the code&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;this.gs.getWebPlatform().setGlobalRefreshHandler(this.refresh.bind(this), document);&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;When registred with VCSA 6.5 html client it says&amp;nbsp;TypeError: this.gs.getWebPlatform(...).setGlobalRefreshHandler is not a function pointing to mainbundle.js&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Browser - chrome and firefox.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Please help me on how to fix this. As per the documentation callback function needs to be passed as parameter so refresh is the callback function here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2017 13:18:43 GMT</pubDate>
    <dc:creator>SreeSindhuSruth</dc:creator>
    <dc:date>2017-06-20T13:18:43Z</dc:date>
    <item>
      <title>Error in webclient 6.5 - (fling sdk) setGlobalRefreshHandler is not a function</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Error-in-webclient-6-5-fling-sdk-setGlobalRefreshHandler-is-not/m-p/1381756#M2505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;using fling sdk and with the angular component file have the code&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;this.gs.getWebPlatform().setGlobalRefreshHandler(this.refresh.bind(this), document);&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;When registred with VCSA 6.5 html client it says&amp;nbsp;TypeError: this.gs.getWebPlatform(...).setGlobalRefreshHandler is not a function pointing to mainbundle.js&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Browser - chrome and firefox.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Please help me on how to fix this. As per the documentation callback function needs to be passed as parameter so refresh is the callback function here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:18:43 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Error-in-webclient-6-5-fling-sdk-setGlobalRefreshHandler-is-not/m-p/1381756#M2505</guid>
      <dc:creator>SreeSindhuSruth</dc:creator>
      <dc:date>2017-06-20T13:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error in webclient 6.5 - (fling sdk) setGlobalRefreshHandler is not a function</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Error-in-webclient-6-5-fling-sdk-setGlobalRefreshHandler-is-not/m-p/1381757#M2506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;make sure that you are using the latest version of the sdk&amp;nbsp;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 20:00:39 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Error-in-webclient-6-5-fling-sdk-setGlobalRefreshHandler-is-not/m-p/1381757#M2506</guid>
      <dc:creator>ilyak</dc:creator>
      <dc:date>2017-06-20T20:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in webclient 6.5 - (fling sdk) setGlobalRefreshHandler is not a function</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Error-in-webclient-6-5-fling-sdk-setGlobalRefreshHandler-is-not/m-p/1381758#M2507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in global.service.ts, in the constructor for Globals, use this to patch webPlatform in case setGlobalRefreshHandler is not defined (replace the current code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'andale mono', times;"&gt;if (!this.webPlatform.setGlobalRefreshHandler) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.webPlatform.setGlobalRefreshHandler = function (handler) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.parent["WEB_PLATFORM"]["refresh" + window.name] = handler;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 15:18:43 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Error-in-webclient-6-5-fling-sdk-setGlobalRefreshHandler-is-not/m-p/1381758#M2507</guid>
      <dc:creator>laurentsd</dc:creator>
      <dc:date>2017-06-21T15:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error in webclient 6.5 - (fling sdk) setGlobalRefreshHandler is not a function</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Error-in-webclient-6-5-fling-sdk-setGlobalRefreshHandler-is-not/m-p/1381759#M2508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.It worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 11:28:25 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Error-in-webclient-6-5-fling-sdk-setGlobalRefreshHandler-is-not/m-p/1381759#M2508</guid>
      <dc:creator>SreeSindhuSruth</dc:creator>
      <dc:date>2017-06-22T11:28:25Z</dc:date>
    </item>
  </channel>
</rss>

