AnsweredAssumed Answered

Display data from pop up in custom widget

Question asked by soldous on Oct 17, 2016
Latest reply on Oct 18, 2016 by soldous



I created my feature action similar to ViewInAttributeTableFeatureAction but it opens a different widget. But I have some issues with receiving data in the widget that feature action opens. In original  ViewInAttributeTable Feature Action is an object FeatureSet that holds the attributes of the selected element. I dug out the attributes from object featureSet by use featureSet.features[0].attributes. Is there any easier way how to do this? And when I have all parametrs saved in a variable how can I display them in the widget? I tried use   in html and this.test.value = variable with attributes in onReceiveData function in JS but it shows me nothing (nothing in widget and neither error message).


Thanks for any help