cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Cloud tag and Customizing the sap.m Standard Tile

Former Member
0 Kudos

Hi everyone,

I was wondering if someone could help me with these 2 questions:

1. I am using sap.m.StandardTile and would like to customze it to add an image in the center and buttons at the bottom. Please see the sample image of the tile I am trying to create. Is it possible to customize the tile?

2. I want to create a Cloud Tag similar to one we see when we click on the Search Icon on the left side of the SAP UI5 SDK page. Could anyone please tell me how I can do this?

Any help or code is greatly appreciated.

Thank you

Prab

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

1) sap.m.CustomTile, you can put pretty much anything into it

https://sapui5.netweaver.ondemand.com/sdk/#docs/api/symbols/sap.m.CustomTile.html

2)there is a control sap.ui.demokit.TagCloud

Former Member
0 Kudos

Hi Maksim, I could not find the sap.ui,demokit.TagCloud on the website. Could you please provide me the link to it?

Also, I will try building the custom Tile n will let you know how it turns out..

Thanks

Former Member
0 Kudos

Could you provide an example? Like a code snippet? Also, how can I bind it with the model? Let's say I have a json model where I get a list of tags. I am new to this stuff. Still learning.

former_member182372
Active Contributor
0 Kudos
Former Member
0 Kudos

THANK YOU!! You are awesome

Former Member
0 Kudos

Hi Maksim,

Is there an onSelect function? something like onSelect/onClick : function(){// show the word clicked on}??

For example, in the JS bin example code, if I click on the word, it gives an alert with the word that was selected?

Answers (1)

Answers (1)

kedarT
Active Contributor
0 Kudos

Hi Prabhjot,

I did a small attempt to do a custom tile, hope this helps.

Look at this link - JS Bin - Collaborative JavaScript Debugging</title> <link rel="alternate" type=&q...

Former Member
0 Kudos

Thanks Kedar, I will try it out too.