Skip to main content
1-Visitor
Apr 2, 2018 12:21 PM UTC
Question

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

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
Apr 3, 2018 9:38 AM UTC

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

Translate
Emeritus
Apr 19, 2018 4:23 PM UTC

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

Translate