<?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: Custom Loading Indicator for WebFrame + Event Router Boolean Handling in ThingWorx in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Custom-Loading-Indicator-for-WebFrame-Event-Router-Boolean/m-p/1059047#M71283</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1023537"&gt;@PG_14395514&lt;/a&gt;&amp;nbsp; which type of file are you loading on WebFrame widget? If its just a pdf file or some other types of files are also included?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2026 06:18:13 GMT</pubDate>
    <dc:creator>MA8731174</dc:creator>
    <dc:date>2026-03-18T06:18:13Z</dc:date>
    <item>
      <title>Custom Loading Indicator for WebFrame + Event Router Boolean Handling in ThingWorx</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Custom-Loading-Indicator-for-WebFrame-Event-Router-Boolean/m-p/1059043#M71282</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am working with the WebFrame widget in a ThingWorx Mashup and facing an issue related to loading indication.&lt;/P&gt;&lt;P&gt;When the URL inside the WebFrame takes time to load, there is no built-in loading indicator or event to detect the loading state. I want to display a custom loading indicator (spinner) until the URL is fully loaded.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My requirements:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Show a custom loader when WebFrame URL starts loading&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Hide the loader once the URL is completely loaded&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Challenges:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;WebFrame does not provide any loading status or onLoad event&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I cannot reliably detect when the content has finished loading&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Additional Issue (Event Router):&lt;/STRONG&gt;&lt;BR /&gt;I tried using the Event Router to control a BOOLEAN variable (e.g., &lt;CODE&gt;isLoading&lt;/CODE&gt;) for showing/hiding the loader. However, I am not sure how to properly pass or assign TRUE/FALSE values through the Event Router.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is there any way to detect WebFrame loading start/end events in ThingWorx?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;What is the best practice to implement a custom loading indicator for WebFrame?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;How can I correctly use Event Router to assign TRUE/FALSE values to control loader visibility?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 18 Mar 2026 06:13:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Custom-Loading-Indicator-for-WebFrame-Event-Router-Boolean/m-p/1059043#M71282</guid>
      <dc:creator>PG_14395514</dc:creator>
      <dc:date>2026-03-18T06:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Loading Indicator for WebFrame + Event Router Boolean Handling in ThingWorx</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Custom-Loading-Indicator-for-WebFrame-Event-Router-Boolean/m-p/1059047#M71283</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1023537"&gt;@PG_14395514&lt;/a&gt;&amp;nbsp; which type of file are you loading on WebFrame widget? If its just a pdf file or some other types of files are also included?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 06:18:13 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Custom-Loading-Indicator-for-WebFrame-Event-Router-Boolean/m-p/1059047#M71283</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2026-03-18T06:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Loading Indicator for WebFrame + Event Router Boolean Handling in ThingWorx</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Custom-Loading-Indicator-for-WebFrame-Event-Router-Boolean/m-p/1059048#M71284</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;The WebFrame is currently loading &lt;SPAN class=""&gt;dynamic URL&lt;/SPAN&gt;. The load time varies depending on the content.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;My main goal is to show a custom loader/spinner while the content is loading and hide it once rendering is complete. Since WebFrame does not expose any loading events, I’m trying to explore possible workarounds.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know if the behavior differs based on content type and whether there are any recommended approaches for handling loading states in such cases.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 06:25:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Custom-Loading-Indicator-for-WebFrame-Event-Router-Boolean/m-p/1059048#M71284</guid>
      <dc:creator>PG_14395514</dc:creator>
      <dc:date>2026-03-18T06:25:16Z</dc:date>
    </item>
  </channel>
</rss>

