cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

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

SaiSameera
13-Aquamarine

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 2
supandey
19-Tanzanite
(To:SaiSameera)

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

Leigh
Emeritus
(To:supandey)

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

Announcements


Top Tags