Skip to Content
0
Jan 31, 2023 at 07:32 PM

How to configure Cross Application Navigation in SAPUI5?

721 Views Last edit Jan 31, 2023 at 08:14 PM 2 rev

Hi,

I have created the two SAPUI5 freestyle application with FLP module support using Fiori: Open Application Generator option in VS code under app folder. The sample project structure is as below,

screenshot-2023-02-01-at-125637-am.png

I want to navigate from Page 1 (From Module 1) to Page 2 (To Module 2) as Cross Application Navigation. I am having following routing configuration in manifest.json (In Module 1) and manifest.json (In Module 2) as follows

screenshot-2023-02-01-at-124309-am.png

screenshot-2023-02-01-at-124401-am.png

I am following below two approaches for navigation,

Approach 1:

Error:

Uncaught (in promise) Error: resource module2/webapp/view/page2.view.xml could not be loaded from ../resources/module2/webapp/view/page2.view.xml. Check for 'file not found' or parse errors. Reason: Not Found

screenshot-2023-02-01-at-124724-am.png

Approach 2:

Error:

image.png

screenshot-2023-02-01-at-125046-am.png

Can someone help me on this, how to resolve this issue

Thanks in advance