on 05-23-2014 8:28 AM
Hi,
How can i create live tiles in UI app, using "sap.ui" libraries ? There are controls to create tiles using "sap.m" libraries.
How can i proceed using "sap.ui" libraries.
Thanks,
Ravikiran
Hi,
refer Tile - sap.m and Standard Tile - sap.m and TileContainer - sap.m
All these examples are from sapui5 testsuite. check the source code and accordingly you can proceed.
I created live (dynamic) tiles based on SCN feed data. you can refer the code and live demo at
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
cause there is a certain problem with the tile (sometime they don't show in the view),
here is a link with examples creating tile, showing on the comments which of them are not working : JS Bin - Collaborative JavaScript Debugging</title> <link rel="icon" href="h...
Otherwise if you are using a XML view , just add the <App> tag after the <Page> tag and the tiles are shown.:
<core:View
controllerName="sap.ui.auth.view.Master"
xmlns="sap.m"
xmlns:commons="sap.ui.commons"
xmlns:table="sap.ui.table"
xmlns:core="sap.ui.core" >
<Page
title = "Authorisation Matrix">
<App>
<TileContainer id="tile">
<tiles>
<StandardTile icon="sap-icon://wrench"
title="Technical Names"
press="handleTile1">
</StandardTile>
<StandardTile icon="sap-icon://chain-link"
title=" Attributes"
press="handleTile2">
</StandardTile>
<StandardTile icon="sap-icon://dimension"
title="Context"
press="handleTile3">
</StandardTile>
<StandardTile icon="sap-icon://history"
title="Template History View"
press="handleTile4">
</StandardTile>
</tiles>
</TileContainer>
</App>
</Page>
</core:View>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravikiran,
Couple of questions to hopefully guide you towards figuring an answer out for yourself...
Cheers,
G.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gareth,
1. Yes i had a look at SDK Documentation but i still in learning stage, was not able to find that control like i did for mobile libraries.
2. I didn't know that i can actually use sap.m library with sap.ui libraries.
3. I am developing a test application using UI libraries, that should have some live tiles, where in on click on the tiles,i should get navigated to next page.
Thanks
Ravikiran
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.