I'm developing a Feature Action for a custom widget. Following the instructions at Create a feature action in your widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers , I have everything working except when I add my custom widget to an application using the Tab theme, my widget is not shown.
Here's the code for my onExecute method:
onExecute: function(featureSet){
WidgetManager.getInstance().triggerWidgetOpen( this.widgetId )
.then( lang.hitch( this, function ( myWidget ) {
this.widget = myWidget;
var feature = featureSet.features[0];
this.showLinksForFeature( feature );
}));
},Am I doing something wrong? I'm using Web AppBuilder 2.1.