on 2016 Apr 10 2:17 PM
Hi Rajesh,
The Unit label is a text you can decide on, if it's just a number it should be empty.
if it's percent you add %, Dollar you add $ etc.
Regarding the service URL - it's usually something that you need to create a service for.
So basically if you have a service that returns the number you should set the URL for it.
If you don't have a service you need to create it.
BR,
Saar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saar,
Thanks for your quick reply, I have given odata service in service url parameter but count is not displayed on tile
http://XXXX:8030/sap/opu/odata/IWPGW/TASKPROCESSING;v=2/TaskCollection/$count
XXXX is NWGW server hostname
Also given following value
sap/opu/odata/IWPGW/TASKPROCESSING;v=2/TaskCollection/$count
but still not working
and tried to use the same url in unit label also still appear the same error
Thanks
Rajesh
Hi Rajesh,
Make sure that you are not trying to reach a server with a different host name, odata services in portal must have the same host name exactly (use web dispatcher or reverse proxy) and also that the protocol is the same for both e.g http or https.
now try to run it again and open the developer tools (f12) go to network tab and search for the URL you entered, if it's not there then the browser blocked it --> look in console for errors.
If it is there look at the response --> what is the status? 200? 404? etc.
If it's 200 make sure that the returned data is either a json or just a number.
If you can show the details from the network tab it will help.
BR,
Saar
Hi Saar,
Thanks for your quick reply, I have portal host name (abc.domain.com) and Fiori (NW GW/odata) server host name (xyz.domain.com).when put the below
link in unit lable
http://xyz.domain.com.8030/sap/opu/odata/IWPGW/TASKPROCESSING;v=2/TaskCollection/$count (fiori)
it was not working as ifound in the console of developer tool that the link redirect for
http://abc.domain.com:8030/sap/opu/odata/IWPGW/TASKPROCESSING;v=2/TaskCollection/$count (portal)
so i got error as there is no service on this path
so how can avoid the redirect for my path for $count
Hi Rajesh,
In my second reply I already said that the URL must be to the exact same host..
It's mandatory, that's why I said either use Web Dispatcher or other reverse proxy.
http://www.slideshare.net/AviadRivlin/sap-enterprise-portal-74-mobile-consumption
BR,
Saar
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.