How to set Number of Dynamic Tile in HCP portal service?

℡╲_俬逩灬. 提交于 2019-12-13 06:49:29

问题


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

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

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

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

I tried add destinations in "Configure Portal Service ":

Name: northwind

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

Still returned:

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

Must I use odata or something?


回答1:


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.



来源:https://stackoverflow.com/questions/39619500/how-to-set-number-of-dynamic-tile-in-hcp-portal-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!