Skip to main content
1-Visitor
April 2, 2018
Question

How to give the image for widget to identify it in mashup builder while creating extension

  • April 2, 2018
  • 2 replies
  • 2082 views

Hi, I'm creating a widget through eclipse. I want to know where the image should be given for the widget to identify it in mashup builder while creating extension.

2 replies

5-Regular Member
April 3, 2018

Hi @SaiSameera you'd need a image included for it something like this

 

TW.IDE.Widgets.mywidget = function () {
this.widgetIconUrl = function() {
return "../Common/extensions/MyExtension/ui/" +
"mywidget/mywidget.ide.png";
};

See Adding Custom Widget in the attached documentation on page 41

 

Note: Image used in widget icon needs to be 16 by 16 pixels

Emeritus
April 19, 2018

Hi @SaiSameera

Just wanted to follow up to see if Sushant was able to answer your questions.  If so, please indicate his response as an Accepted Solution for the benefit of the rest of the Community.  If not, please let us know your current status.

Thanks!

Leigh