SAP Fiori Launchpad超时Shell插件应用-已被CORS策略阻止

问题描述 投票:0回答:1

我已实施Fiori'Shell超时”以在SAP Cloud Platform Launchpad上禁用超时。

将Shell插件应用程序部署到我们的Fiori Launchpad时就可以了。

但是,应用程序内的AJAX调用出现错误,显示为错误>]

Access to XMLHttpRequest at 'https://launchpadtimeout-xxxxxxx.dispatcher.hana.ondemand.com/?_=1573041816189' from origin 'https://flpnwc-xxxxxx.dispatcher.hana.ondemand.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

我的应用是使用此博客整理在一起的:

https://help.sap.com/viewer/8422cb487c2146999a2a7dab9cc85cf7/Cloud/en-US/87764543e31247b5b471c06e3f6da6fc.html

我尝试在SAP Cloud Platform中添加目的地无效。

我已经实现了Fiori'Shell Timeout',以在SAP Cloud Platform Launchpad上禁用超时。将Shell插件应用部署到我们的Fiori Launchpad时会很好。但是,通过AJAX调用...

ajax sap sap-fiori sap-cloud-platform
1个回答
0
投票
uri是该应用程序的fiori Launchpad uri,而不是它的SCP uri。
© www.soinside.com 2019 - 2024. All rights reserved.