﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - How do you navigate to page in external app from another external app?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-do-you-navigate-to-page-in-external-app-from-another-external-app/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How do you navigate to page in external app from another external app?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-do-you-navigate-to-page-in-external-app-from-another-external-app/</link><pubDate>Thu, 19 May 2011 07:23:05 GMT</pubDate><dc:creator>jimmyps</dc:creator><description>&lt;p&gt;Yes, using type-based URI should definitely work. However, you should resort to this solution only if physical URI cannot be achieved entirely. There are a number of disadvantages using type-based URI, such as your external apps will broke if the namespace is changed. It's okay if you can live with it.&lt;/p&gt;&lt;p&gt;Let me know if you feel that we should support physical URI in the externally loaded application for cross app navigation.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Jimmy&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How do you navigate to page in external app from another external app?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-do-you-navigate-to-page-in-external-app-from-another-external-app/</link><pubDate>Wed, 18 May 2011 23:25:54 GMT</pubDate><dc:creator>bap3</dc:creator><description>&lt;p&gt;I think i figured it out.  i had to configure the URIMapping to use type name (per your docs)&lt;/p&gt;
&lt;p&gt;example below:&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UriMapping Uri="/MyApp1/Files" MappedUri="/MyApp1;/MyApp1.Views/UXPage1"/&amp;gt;&lt;/pre&gt;

&lt;p&gt;&lt;br /&gt; &lt;/p&gt;</description></item><item><title>How do you navigate to page in external app from another external app?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-do-you-navigate-to-page-in-external-app-from-another-external-app/</link><pubDate>Wed, 18 May 2011 14:42:59 GMT</pubDate><dc:creator>bap3</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;Thanks for the response.  I simply want to modularize my application and have pages within multiple xaps load within the same "parent" UXFrame.  &lt;/p&gt;
&lt;p&gt;Consider your OutlookNavApplication template.  I would like to create a parent application (Main.xap) using the OutlookNavigationApplication template.  I would then like to use the basic Intersoft ClientUI Application template to create external xaps.  I would like each NavigationPaneItem in the Main.xap (Overview, Mail, Contact etc...) be associated to an external xap (Overview.xap, Mail.xap, Contact.xap etc...).  When a user clicks on Overview NavigationPanelItem in Main.xap the Overview.xap downloads and installs and the default page is displayed in the Main.xap UXFrame.  When a use clicks a NavigationButton item within the Overview NavigationPaneItem, I would like the UXFrame to load the associated view from within Overview.xap views folder. Can this be done?&lt;/p&gt;
&lt;p&gt;If not, does this mean i need to make each external xap using the OutlookNavApplication template?  That doesn't seem like it will work.  &lt;/p&gt;
&lt;p&gt;Any help would be much appreciated!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>How do you navigate to page in external app from another external app?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-do-you-navigate-to-page-in-external-app-from-another-external-app/</link><pubDate>Tue, 17 May 2011 10:27:13 GMT</pubDate><dc:creator>jimmyps</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Local page navigation in externally loaded application is already supported in nested frame scenario. This means that each external app has its own UXFrame which is responsible to define its own UriMapping. In real-world scenarios, the shell has no knowledge about the applications that will be loaded, and what mappings that it needs to define in order to route the application's pages properly. In short, the mappings are all defined in each external app's UXFrame which serves as the child navigation. This allows the sub-paths, i.e., /App1/SubPath1 to be translated automatically according to the defined mappings.&lt;br /&gt;&lt;br /&gt;However, looking at your scenario at a glance, you don't seem to define UXFrame in each external application, is this correct? Presuming this is correct, we would like to learn your scenario further to understand what you're trying to do with the sub-paths in the root navigation frame. We will also need a simple working sample that illustrates this particular scenario to allow our engineers to implement the best solution with solid architecture.&lt;br /&gt;&lt;br /&gt;To give you a quick insight, if we have to support the sub-paths navigation in the root frame, the architecture shall allow developers to define the mappings "externally", not in the UXFrame as shown in the vanilla sample above.&lt;br /&gt;&lt;br /&gt;I look forward to your response and a working sample to address your specific scenario. Let me know if you have any questions.&lt;br /&gt;&lt;br /&gt;Best,&lt;br /&gt;Jimmy&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How do you navigate to page in external app from another external app?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-do-you-navigate-to-page-in-external-app-from-another-external-app/</link><pubDate>Fri, 13 May 2011 10:32:35 GMT</pubDate><dc:creator>bap3</dc:creator><description>&lt;p&gt;I have 2 external xaps in composite test application:&lt;/p&gt;
&lt;p&gt;Main.xap (startup xap)&lt;/p&gt;
&lt;p&gt;App1.xap (external)&lt;/p&gt;
&lt;p&gt;App2.xap (external)&lt;/p&gt;
&lt;p&gt;I'm trying to navigate to a page in App1 from App2 but it's not working...&lt;/p&gt;
&lt;p&gt;More info:&lt;/p&gt;
&lt;p&gt;App2.MainPage.xaml has nav link to App1.Views.UXPage1&lt;/p&gt;
&lt;p&gt;&amp;lt;&lt;span style="font-family: consolas; color: #a31515; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #a31515; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #a31515; font-size: 13px"&gt;Intersoft&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #a31515; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #a31515; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #a31515; font-size: 13px"&gt;UXHyperlinkButton&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #ff0000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #ff0000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #ff0000; font-size: 13px"&gt; Content&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;="Go to Page2 in external app1"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #ff0000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #ff0000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #ff0000; font-size: 13px"&gt; NavigateUri&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;="/MyApp1/Files"/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;How do i setup the URI Mapping in UXFrame in Main.MainPage.Xap to get the nav link in App2.MainPage to work so when clicked it navigates to App1.Views.UXPage1.xaml?  Any help much appreciated!&lt;/p&gt;
&lt;p&gt;Here's the current UXFrame URI mapping in Main.MainPage.xap:&lt;/p&gt;&lt;pre&gt; &amp;lt;Intersoft:UXFrame x:Name="ContentFrame" Source="/Overview/Home" EnablePageTransition="True" DefaultTransitionEffect="SlideLeft" 
                                   AutoDetectNavigationDirection="True" NewTransitionEffect="Fading" AllowNestedFrameNavigation="True"
                                   TransitionStrategy="WaitContentReady" UseGlobalShell="True" AutoMapApplications="True"  &amp;gt;
                    &amp;lt;Intersoft:UXFrame.UriMapper&amp;gt;
                        &amp;lt;Intersoft:UriMapper&amp;gt;
                 
                            &amp;lt;Intersoft:UriMapping Uri="" MappedUri="/Views/Home.xaml"/&amp;gt;
                            &amp;lt;Intersoft:UriMapping Uri="/Error" MappedUri="/ErrorPage.xaml"/&amp;gt;
                            &amp;lt;Intersoft:UriMapping Uri="/Overview/Home" MappedUri="/Views/Home.xaml"/&amp;gt;
                            &amp;lt;Intersoft:UriMapping Uri="/Overview/About" MappedUri="/Views/About.xaml"/&amp;gt;
                            &amp;lt;Intersoft:UriMapping Uri="/MyApp1" MappedUri="/App1"/&amp;gt;
                            &amp;lt;Intersoft:UriMapping Uri="/MyApp2" MappedUri="/App2"/&amp;gt;
                            &amp;lt;Intersoft:UriMapping Uri="/MyApp1/Files" MappedUri="/Views/UXPage1.xaml"/&amp;gt;
                            &amp;lt;Intersoft:UriMapping Uri="/{page}/{category}" MappedUri="/Views/{page}.xaml?id={category}"/&amp;gt;
                 
                            &amp;lt;Intersoft:UriMapping Uri="/{page}" MappedUri="/Views/{page}.xaml"/&amp;gt;
                            
                        &amp;lt;/Intersoft:UriMapper&amp;gt;
                    &amp;lt;/Intersoft:UXFrame.UriMapper&amp;gt;
                &amp;lt;/Intersoft:UXFrame&amp;gt;

Below is App Packages loaded in Main.App.xaml.cs app startup:

  private void Application_Startup(object sender, StartupEventArgs e)
        { 
            // create a new ApplicationPackage that represents App1
            ApplicationPackage app1 = new ApplicationPackage()
            {
                ID = "App1",
                Name = "App1",
                Source = new Uri("App1.xap", UriKind.RelativeOrAbsolute),
                EnableMetadataDiscovery = true,
                VirtualPathIdentity = "/App1",
                Size = -1 // auto detect the file size at runtime
            }; 
            // add the application to the UXShell
            UXShell.Current.Applications.Add(app1);

            ApplicationPackage app2 = new ApplicationPackage()
            {
                ID = "App2",
                Name = "App2",
                Source = new Uri("App2.xap", UriKind.RelativeOrAbsolute),
                EnableMetadataDiscovery = true,
                VirtualPathIdentity = "/App2",
                Size = -1 // auto detect the file size at runtime
            };
            // add the application to the UXShell
            UXShell.Current.Applications.Add(app2);
            shellManager.RootPage = new MainPage();
            
            
            this.RootVisual = shellManager.RootPage;
            //this.RootVisual = new MainPage();      
        }&lt;/pre&gt;</description></item></channel></rss>