在创建应用程序组件之前启动 Fiori shell 插件。如何?

Launch Fiori shell plugin before app component creation. How?

简介

我是 运行 testshell 项目,作为 "Shell plugin" 在 HANA Cloud Platform Fiori Launchpad 中。当我访问默认首页(包含所有磁贴)中的 Launchpad 时,shell 插件加载正确。

我的 shell 插件修改了导航 URL 中的某些内容,因此我 必须确保 shell 插件在应用程序之前加载' Component.js 已加载。

问题

但是,当我以特定意图(例如 https://HCP_URL/hrtest#requestleave-Display)启动 Fiori Launchpad 时,应用程序 Component.js requestleave 首先加载,然后是 shell 插件的 Component.js.

从这里的文档 https://help.hana.ondemand.com/cloud_portal_flp/frameset.htm?87764543e31247b5b471c06e3f6da6fc.html 我读到:

When you launch SAP Fiori launchpad, all applications that are marked as shell plugin are initialized while the launchpad is loading.

如何确保 shell 插件在为给定应用程序创建组件之前已加载并初始化?

在插件之前加载应用程序实际上是预期的行为。这里的主要内容是加载插件不应减慢 FLP/Application 启动速度。这就是应用程序初始化在插件初始化之前开始的原因。 目前没有办法克服这种行为。

为什么需要在启动应用程序之前操作 URL?请提供更多信息,以便我们或许可以想出一个替代方案。