如何在HCP门户网站服务中设置动态切片数? [英] How to set Number of Dynamic Tile in HCP portal service?

查看:158
本文介绍了如何在HCP门户网站服务中设置动态切片数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只想使用服务器中的数字来更改图块号,例如使用URL http://10.59.XXX.100:8080/Map/dynamicTileOnlyNo

I just want to use number from my server to change tile number, such as using URL http://10.59.XXX.100:8080/Map/dynamicTileOnlyNo

In SCN blog, they use /sap/fiori/employees/destinations/northwind/V3/Northwind/Northwind.svc/Employees/$count to set dynamic data

代表 /<fiori proxy>/<application id>/destinations/<destination name>/<path to OData service>/<OData collection>/<query string>

which stand for /<fiori proxy>/<application id>/destinations/<destination name>/<path to OData service>/<OData collection>/<query string>

但是我尝试了 http://services.odata.org/Northwind/Northwind. svc/Employees/ $ count,返回:

But I tried http://services.odata.org/Northwind/Northwind.svc/Employees/$count , returned:

Failed to update data via service /sap/fiori/realtimealerthttp://10.59.172.100:8080/Map/dynamicTileOnlyNo: HTTP request failed - 404 Not Found -  sap.ushell.components.tiles.applauncherdynamic.DynamicTile

为什么HCP在前面添加/sap/fiori/realtimealert?我应该在目的地"中设置一些内容吗?

Why HCP add /sap/fiori/realtimealert in front? Should I set something in Destinations?

我尝试在配置门户网站服务"中添加目标:

I tried add destinations in "Configure Portal Service ":

名称:northwind

Name: northwind

URL: http://services.odata.org/

仍然返回:

获取 https://flpportal-iXXXXXXtrial.dispatcher.hanatrial.ondemand.com/sap/fiori/alert/destinations/northwind/Northwind/Northwind.svc/Employees/ $ count 404(未找到)

GET https://flpportal-iXXXXXXtrial.dispatcher.hanatrial.ondemand.com/sap/fiori/alert/destinations/northwind/Northwind/Northwind.svc/Employees/$count 404 (Not Found)

我必须使用odata之类的东西吗?

Must I use odata or something?

推荐答案

如SCN博客所述,您需要将URL中的相对路径与odata结合使用. 似乎您的目的地配置不正确. 请为此检查HCP文档.

As mentioned in the SCN blog, you need to use relative paths in the URL in combination with odata. It also seems like your destinations are not configured properly. Please check HCP documentation on this.

这篇关于如何在HCP门户网站服务中设置动态切片数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆