on 08-10-2016 4:53 AM
Hi,
I have z app for leads display in flpd as per our scenario, in odata I added entity to get count also. But In tile where can I add those please suggest.
I checked thread we need to mention odata count url in "Dynamic url", but am not sure how exactly count mapping tile takes and where to set time interval to refresh. and I do not know where to write the below code.
{
"d": {
"icon": "sap-icon://travel-expense",
"info": "Quarter Ends!",
"infoState": "Critical",
"number": 43.333,
"numberDigits": 1
“numberFactor”: “k”,
"numberState": "Positive",
"numberUnit": "EUR",
"stateArrow": "Up",
"subtitle": "Quarterly overview",
"title": "Travel Expenses",
}
}
Thanks,
John
Any asnwer...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
For dynamic tile you have to set the Service URL and the Refresh Interval in seconds under Dynamic Data in the tile's properties in the launchpad designer. And the entity set in the OData service (which holds the count value) which you configure in the dynamic URL property should have the structure as described in the link - it should have a field called number whose value will be displayed as a dynamic count on the tile in the launchpad.
For e.g. if you have an entity set called Employees in your OData service then it should have the structure like described in the link and you would key in the below URL in the Dynamic URL field:
/sap/opu/odata/sap/<OData_Service>/Employees/$count
Regards,
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Saurabh.
That I could see in the screen shot. My Q is in that link odata is returning two fields COUNT & NAME.
Count is displaying top, Name is displaying at bottom, where that mapping was given. Suppose I want Count should come down and Name should display in the top.
I think now my Q is clear.
Thanks,
John
Hi Sourabh,
I do agree that Count will display in the bottom and title will display at top.
In the url we do just mention something like "urlllllll.........../Entityset" it will return two fields name and count.
But my Q is: where we do are maintaining the mapping name& count to display in the TILE...?
Does my Q is clear.
Thanks,
John
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.