<?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 How to programatically navigate to a mashup while using collection widget in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622443#M38283</link>
    <description>&lt;P&gt;I have a main mashup with contained mashup with footer showing bunch of icons representing mashups (using collection widget). Based on the icon selection on this menu I can navigate to different mashups in that contained mashup area.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the mashup shown in contained mashup area has a Navigation button. I am looking to navigate the user to a different mashup instead of showing a pop or modal popup. Though when using the replace window option, the new mashup completely replaces the current view, including the footer and thus loosing the foot completely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there an efficient way to replace the mashup only in that contained mashup area instead of navigating completely away from the current mashup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2019 14:58:21 GMT</pubDate>
    <dc:creator>bootstrap</dc:creator>
    <dc:date>2019-08-14T14:58:21Z</dc:date>
    <item>
      <title>How to programatically navigate to a mashup while using collection widget</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622443#M38283</link>
      <description>&lt;P&gt;I have a main mashup with contained mashup with footer showing bunch of icons representing mashups (using collection widget). Based on the icon selection on this menu I can navigate to different mashups in that contained mashup area.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the mashup shown in contained mashup area has a Navigation button. I am looking to navigate the user to a different mashup instead of showing a pop or modal popup. Though when using the replace window option, the new mashup completely replaces the current view, including the footer and thus loosing the foot completely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there an efficient way to replace the mashup only in that contained mashup area instead of navigating completely away from the current mashup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 14:58:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622443#M38283</guid>
      <dc:creator>bootstrap</dc:creator>
      <dc:date>2019-08-14T14:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically navigate to a mashup while using collection widget</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622467#M38289</link>
      <description>&lt;P&gt;Have you considered using a Master mashup? that way you will have a permanently attached "header" with all the required content.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 16:51:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622467#M38289</guid>
      <dc:creator>posipova</dc:creator>
      <dc:date>2019-08-14T16:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically navigate to a mashup while using collection widget</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622484#M38292</link>
      <description>&lt;P&gt;Thanks for reverting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure how will that help, I did shortly consider but didn't go forward due to following reasons&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Not all contained mashups need header at all time, i understand hiding it might be an option but then if it's there it will take bandwidth while loading anyhow (or am I wrong to have that thought process?)&lt;/P&gt;
&lt;P&gt;2. Only few of these contained mashups have buttons, so a header is not always needed, plus it will eat up scarce resource i.e. the on screen space which is between 9-12 inches&lt;/P&gt;
&lt;P&gt;3. I want to keep these mashups as light as possible, meaning fewer contents to load the better because these mashups will be loaded on a tablet in the field where connectivity will vary a lot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was hoping that I could somehow navigate, via service, the collection widget to simply replace the contained mashup instead of forcing users to manually click through the icons which completely breaks the user experience.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 19:28:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622484#M38292</guid>
      <dc:creator>bootstrap</dc:creator>
      <dc:date>2019-08-14T19:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically navigate to a mashup while using collection widget</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622520#M38302</link>
      <description>&lt;P&gt;If a Master is no option you may want to use a dedicated Thing to support your Mashup. I built a small example, see attachment. I think it does not need much description but I do my best:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;MainMashup has the requested Footer and ContainedMashup widget&lt;/LI&gt;
&lt;LI&gt;ContainedMashup1 and 2 have Buttons to Navigate to the other Mashup&lt;/LI&gt;
&lt;LI&gt;The Thing&amp;nbsp;&lt;SPAN&gt;YourMashupHelper keeps track of the last requested Mashup. The ContainerMashup widget is bound to its property MashupName.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The point is all buttons do not actually Navigate but call the function SetMashupName to only set the property of YourMashupHelper.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Important: In Main Mashup the GetProperties Service needs the "Automatically update when able" flag set to true, this will trigger an update when a ContainedMashup sets MashupName.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 15 Aug 2019 05:55:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622520#M38302</guid>
      <dc:creator>BennyB</dc:creator>
      <dc:date>2019-08-15T05:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically navigate to a mashup while using collection widget</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622529#M38305</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/300638"&gt;@BennyB&lt;/a&gt;&amp;nbsp; I was thinking something on similar lines but couldn't fully formulate it yet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So thanks for sharing this, I am gonna find time to test this out and will get back.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Much appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 11:01:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622529#M38305</guid>
      <dc:creator>bootstrap</dc:creator>
      <dc:date>2019-08-15T11:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically navigate to a mashup while using collection widget</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622670#M38322</link>
      <description>&lt;P&gt;Final update :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did it bit differently (since the menu in my main mashup is driven by collection widget), may be of help to someone else trying. I think&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/300638"&gt;@BennyB&lt;/a&gt;&amp;nbsp;your option was good as well&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Created a session parameter to hold mashup name&lt;/P&gt;
&lt;P&gt;2. In helper thing I created 3 services&lt;/P&gt;
&lt;P&gt;a. Setting session param&lt;/P&gt;
&lt;P&gt;b. Getting session param and driving the collection widget (as this is what drives the footer icons)&lt;/P&gt;
&lt;P&gt;c. Resetting the session param after 1st load&lt;/P&gt;
&lt;P&gt;3. On button click e.g. Mashup B, i called navigation via navigation button which also sets the session param to hold the mashup name and then navigate to main mashup&lt;/P&gt;
&lt;P&gt;4. On main mashup load after the getMenuItems service finish invoking I invoke the service setting the mashupname in contained mashup&lt;/P&gt;
&lt;P&gt;5. I call the service to clear the session variable which held the mashup name.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 17:32:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/How-to-programatically-navigate-to-a-mashup-while-using/m-p/622670#M38322</guid>
      <dc:creator>bootstrap</dc:creator>
      <dc:date>2019-08-16T17:32:32Z</dc:date>
    </item>
  </channel>
</rss>

