<?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>Question Re: Where to define entry point for routing inside a SplitApp? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726851#M202447</link>
    <description>&lt;P&gt;Actually it depends on the pattern..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually when u run a fiori app, it goes and checks in the routes that u defined and will pick the route which has the pattern  as empty. Because fiori app runs first time with empty pattern. so where ever u give the pattern as  '  pattern:"" ' that particular rout will be pickd&lt;/P&gt;</description>
    <pubDate>Wed, 24 Oct 2018 09:11:33 GMT</pubDate>
    <dc:creator>maheshpalavalli</dc:creator>
    <dc:date>2018-10-24T09:11:33Z</dc:date>
    <item>
      <title>Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaq-p/726846</link>
      <description>&lt;P&gt;Hi,&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;/P&gt;
  &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;P&gt; &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;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I am looking for a way to choose which route my component.js takes first.&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;/P&gt;
  &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;P&gt; &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;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;My app contains 3 Master/Detail-Views inside 1 SplitApp.&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;/P&gt;
  &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;P&gt; &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;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;So I have 3 routes: MasterA -&amp;gt; DetailA, MasterB -&amp;gt;DetailB and MasterC-&amp;gt;DetailC&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;/P&gt;
  &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;P&gt; &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;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;How or where can I tell my app which route it takes first? Right now it takes the route, which is first declared in my manifest.json.&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;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 13:23:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaq-p/726846</guid>
      <dc:creator>defue</dc:creator>
      <dc:date>2018-10-23T13:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726847#M202443</link>
      <description>&lt;P&gt;in the route you defined.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 13:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726847#M202443</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2018-10-23T13:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726848#M202444</link>
      <description>&lt;P&gt;In my manifest.json?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 14:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726848#M202444</guid>
      <dc:creator>defue</dc:creator>
      <dc:date>2018-10-23T14:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726849#M202445</link>
      <description>&lt;P&gt;yes, you define your route based on the url pattern.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 15:08:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726849#M202445</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2018-10-23T15:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726850#M202446</link>
      <description>&lt;P&gt;Can you give me an example?&lt;/P&gt;&lt;P&gt;My routes are right now like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"routes": [ {
				"pattern": "",
				"name": "MasterUsers",
				"target": [
					"MasterUsers"
				],
				"subroutes": [{
					"pattern": "DetailUsers/{Username}",
					"name": "DetailUsers",
					"target": [
						"DetailUsers"
					]
				}]
			},{
				"pattern": "",
				"name": "MasterApplications",
				"target": [
					"MasterApplications"
				],
				"subroutes": [{
					"pattern": "DetailApplications/{Application}",
					"name": "DetailApplications",
					"target": [
						"DetailApplications"
					]
				}]
			}, {
				"pattern": "",
				"name": "MasterScenarios",
				"target": [
					"MasterScenarios"
				],
				"subroutes": [{
					"pattern": "DetailScenarios/{Scenario}",
					"name": "DetailScenarios",
					"target": [
						"DetailScenarios"
					]
				}]
			}]
&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And my app always starts with "MasterUsers". &lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 08:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726850#M202446</guid>
      <dc:creator>defue</dc:creator>
      <dc:date>2018-10-24T08:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726851#M202447</link>
      <description>&lt;P&gt;Actually it depends on the pattern..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually when u run a fiori app, it goes and checks in the routes that u defined and will pick the route which has the pattern  as empty. Because fiori app runs first time with empty pattern. so where ever u give the pattern as  '  pattern:"" ' that particular rout will be pickd&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 09:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726851#M202447</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2018-10-24T09:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726852#M202448</link>
      <description>&lt;P&gt;Ok I understand. So if I give each of my routes a different pattern I can decide which is my starting route? If so, where can I do it?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 09:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726852#M202448</guid>
      <dc:creator>defue</dc:creator>
      <dc:date>2018-10-24T09:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726853#M202449</link>
      <description>&lt;P&gt;Like i mentioned, whichever the route is having the pattern empty will be triggered first. Yeah, so it is up to you to define which route to be called based on the empty pattern.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 10:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726853#M202449</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2018-10-24T10:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726854#M202450</link>
      <description>&lt;P&gt;The thing is, that I want to call the first route dynamically. Depending on a parameter which starts the app.&lt;/P&gt;&lt;P&gt;More accurate: I want to do 3 tiles for my app. Each tile gives another parameter (App, User, Scenario) to my app. Inside my app I will then decide which route it shall take.&lt;/P&gt;&lt;P&gt;My assumption is, that I have to read the input parameter in my component.js. And then I have to "call the route".&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 11:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726854#M202450</guid>
      <dc:creator>defue</dc:creator>
      <dc:date>2018-10-24T11:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726855#M202451</link>
      <description>&lt;P&gt;Super.&lt;/P&gt;&lt;P&gt;Actually I am not sure how to default a particular route(even if it is possible or not). But you can do one thing, call navTo method in component by passing your respective route name and parameters.&lt;/P&gt;&lt;P&gt;e.g.,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;var oRouter = sap.ui.core.UIComponent.getRouterFor(this);
			oRouter.navTo("detail", {
				invoicePath: oItem.getBindingContext("invoice").getPath().substr(1)
			});&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Oct 2018 11:44:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726855#M202451</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2018-10-24T11:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where to define entry point for routing inside a SplitApp?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726856#M202452</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;"pattern": "", should be unique, I am not using subroute. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 13:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-to-define-entry-point-for-routing-inside-a-splitapp/qaa-p/726856#M202452</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2018-10-24T13:15:06Z</dc:date>
    </item>
  </channel>
</rss>

