Skip to Content
author's profile photo Former Member
Former Member

Adding content in standardTile


Hi,

Can anyone suggest me how to add content in standardtile...?

I searched in demokit, but I didn't get it.

Thanks,

Gopi.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 06, 2014 at 05:56 PM

    Hi Gopi,

    I too didn't find it.. 😊

    But you can use CustomTile.. In that you can directly addContent..

    Regards,

    Surendra.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 06, 2014 at 06:41 PM

    Hi!

    Are you talking about this?

    I think you could only add some information like number, link, type of tile, etc. You could use custom content using CustomTile: http://scn.sap.com/thread/3432101

    var exampleTile = new sap.m.StandardTile("exampleTile",
    { icon : sap.ui.core.IconPool.getIconURI("inbox"),
    number : "9000090", //Number representing KPI, etc.
    numberUnit : "euro",
    title : "Lorem ipsum Title",
    type: sap.m.StandardTileType.Monitor, //https://openui5.hana.ondemand.com/docs/api/symbols/sap.m.StandardTileType.html
    info : "1 day ago",
    infoState : "Warning" //https://openui5.hana.ondemand.com/docs/api/symbols/sap.ui.core.ValueState.html });

    StandardTile demo

    Kind regards

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.