<?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: sap.ushell.Container.getServices undefined while calling CrossApplicationNavigation in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485621#M4678036</link>
    <description>&lt;P&gt;Hi Sathriyan, &lt;/P&gt;&lt;P&gt;Thanks for response. I am using tile in BTP Launchpad service which is pointing to UI component index.html file.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anubha&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2022 09:35:43 GMT</pubDate>
    <dc:creator>former_member752390</dc:creator>
    <dc:date>2022-04-14T09:35:43Z</dc:date>
    <item>
      <title>sap.ushell.Container.getServices undefined while calling CrossApplicationNavigation</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaq-p/12485617</link>
      <description>&lt;P&gt;I am facing issue in calling sap.ushell.Container.getServices("CrossApplicationNavigation") from a SAPUI5 application deployed in BTP Cloud Foundry and &lt;STRONG&gt;accessed through SAP BTP Launchpad service&lt;/STRONG&gt;.&lt;/P&gt;
  &lt;P&gt;I understand, as it is being called from Fiori launchpad, all modules within sap.ushell library should work.&lt;/P&gt;
  &lt;P&gt;Error coming in Console is below&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2038662-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Current sap.ushell content is - &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2038663-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Expected sap.ushell content is - &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2038664-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Index.html -&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;code&amp;gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&amp;gt;
&amp;lt;meta http-equiv='Content-Type' content='text/html;charset=UTF-8'&amp;gt;
&amp;lt;meta http-equiv="X-Xss-Protection" content="1; mode=block"&amp;gt;
&amp;lt;meta http-equiv="X-Content-Type-Options" content="nosniff"&amp;gt;
    
&amp;lt;title&amp;gt;OpenText Vendor Invoice Management&amp;lt;/title&amp;gt;
&amp;lt;script src="https://ui5.sap.com/1.84.18/resources/sap-ui-core.js" 
    id="sap-ui-bootstrap" 
   data-sap-ui-frameOptions="allow"
    data-sap-ui-resourceroots='{"otbcwui": "./otbcwui/"}'
    data-sap-ui-xx-bindingSyntax="complex"
            data-sap-ui-compatVersion="edge"
            data-sap-ui-oninit="module:sap/ui/core/ComponentSupport"
            data-sap-ui-async="true"
            data-sap-ui-preload="async"         
    data-sap-ui-libs="sap.m, sap.ushell, sap.f, sap.ui.commons, sap.suite.ui.commons, sap.f,  sap.ui.export"
    data-sap-ui-theme="sap_fiori_3"&amp;gt;
    
&amp;lt;/script&amp;gt;

&amp;lt;script&amp;gt;
    sap.ui.getCore().attachInitEvent(function() {
        jQuery.sap.registerModulePath("ot.approve.requests03", ".");
        var oComp = sap.ui.getCore().createComponent({
            name: "ot.approve.requests03",
            id: "OtBcComp",
            height: "100%"
        });
        var oComponentContainer = new sap.ui.core.ComponentContainer({
            component: oComp
        });
        oComponentContainer.placeAt("content");
    });
&amp;lt;/script&amp;gt;

&amp;lt;/head&amp;gt;
&amp;lt;body class="sapUiBody" role="application"&amp;gt;
    &amp;lt;div id="content"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt; 
  &lt;P&gt;Manifest.json - dependency also declared&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;    "sap.ui5": {
        "dependencies": {
            "minUI5Version": "1.52.0",
            "libs": {
                "sap.ui.core": {},
                "sap.m": {},
                "sap.ui.layout": {},
                "sap.ushell": {},
                "sap.collaboration": {},
                "sap.ui.comp": {},
                "sap.uxap": {}
            }
        },
         "services": {
			"ShellUIService": {
				"factoryName": "sap.ushell.ui5service.ShellUIService"
			}
		},
   },
"sap.platform.cf": {
	   "ui5VersionNumber": "1.84.18"
    }
}&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Apr 2022 08:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaq-p/12485617</guid>
      <dc:creator>former_member752390</dc:creator>
      <dc:date>2022-04-13T08:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: sap.ushell.Container.getServices undefined while calling CrossApplicationNavigation</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485618#M4678033</link>
      <description>&lt;P&gt;this should work fine in the Launchpad service of BTP. We have apps running that use this without any problem.&lt;/P&gt;&lt;P&gt;How is your tile configured? It should not point to the index.html. You have to use the HTML5 content provider for adding the tile.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 19:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485618#M4678033</guid>
      <dc:creator>WouterLemaire</dc:creator>
      <dc:date>2022-04-13T19:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: sap.ushell.Container.getServices undefined while calling CrossApplicationNavigation</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485619#M4678034</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;anubhpan&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I think you are running application directly from SAP BTP HTML5 Application list, it does not contain sap.ushell.Container.&lt;/P&gt;&lt;P&gt;Create Launchpad service, Catalog and Group then assign the application then try. it will work.&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 03:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485619#M4678034</guid>
      <dc:creator>former_member388737</dc:creator>
      <dc:date>2022-04-14T03:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: sap.ushell.Container.getServices undefined while calling CrossApplicationNavigation</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485620#M4678035</link>
      <description>&lt;P&gt;Hi Wouter, &lt;/P&gt;&lt;P&gt;Thanks for your response. Yes, the tile is pointing to index.html. &lt;/P&gt;&lt;P&gt;This Fiori app is having 2 modules. A UI modules which has multiple views and other utility js files. And a standalone approuter which has routers configured in its xs-app.json for various components of UI Module. A destination is maintained in BTP cockpit for approuter module.&lt;/P&gt;&lt;P&gt;In BTP launchpad service I have tiles configured pointing to index.html of UI module via approuter destination.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2038736-image.png" /&gt;&lt;/P&gt;&lt;P&gt;Is usage if index.html in tile configuration responsible for not showing all sap.ushell modules ? If yes, what is the workaround I can use to fix this. Changing the whole architecture of application usage may not be possible at this stage for me.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anubha&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 09:18:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485620#M4678035</guid>
      <dc:creator>former_member752390</dc:creator>
      <dc:date>2022-04-14T09:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: sap.ushell.Container.getServices undefined while calling CrossApplicationNavigation</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485621#M4678036</link>
      <description>&lt;P&gt;Hi Sathriyan, &lt;/P&gt;&lt;P&gt;Thanks for response. I am using tile in BTP Launchpad service which is pointing to UI component index.html file.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anubha&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 09:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485621#M4678036</guid>
      <dc:creator>former_member752390</dc:creator>
      <dc:date>2022-04-14T09:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: sap.ushell.Container.getServices undefined while calling CrossApplicationNavigation</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485622#M4678037</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;c3d1947136cd4c748a7aa794001af496&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;What if we want to access the ushell of Launchpad if the App UI Technology is URL.&lt;/P&gt;&lt;P&gt;In my case i am trying to access the shellbar of the launchpad from a ui5 application deployed on CF bundled inside an approuter. so i am proving the url to my application in here there are multiple ui5 apps inside the approuter.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 18:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485622#M4678037</guid>
      <dc:creator>krishnan-jr</dc:creator>
      <dc:date>2022-09-22T18:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: sap.ushell.Container.getServices undefined while calling CrossApplicationNavigation</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485623#M4678038</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;anubhpan&lt;/SPAN&gt; ,  &lt;SPAN class="mention-scrubbed"&gt;c3d1947136cd4c748a7aa794001af496&lt;/SPAN&gt;  &lt;SPAN class="mention-scrubbed"&gt;sathriyan.in&lt;/SPAN&gt; &lt;BR /&gt;Did you guys find any work-around for the same?&lt;BR /&gt;I am also facing similar issue.&lt;A href="https://answers.sap.com/storage/temp/2169790-screeshotissue.png" data-attachment="2169790"&gt;screeshotissue.png&lt;BR /&gt;&lt;/A&gt;Your suggestions would be of great help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;BR /&gt;8971104488&lt;BR /&gt;adi.jais13@gmail.com&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 10:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-ushell-container-getservices-undefined-while-calling/qaa-p/12485623#M4678038</guid>
      <dc:creator>former_member810380</dc:creator>
      <dc:date>2023-05-12T10:04:23Z</dc:date>
    </item>
  </channel>
</rss>

