How to "publishData" from the Attribute Widget

3013
2
Jump to solution
12-29-2015 05:48 AM
MajdiTurkman1
New Contributor III

I'm trying to publish data from "_FeatureTable.js" file in the Attribute Table widget.

I'm getting this error: this.publishData is not a function...

Seems that I'm missing something here!

Any idea?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Majdi,

   The publishData function is only available from inside the Widget.js file and not supporting files like the _FeatureTable.js. You will have to call "this.parentWidget.publishData" from inside the _FeatureTable.js

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Majdi,

   The publishData function is only available from inside the Widget.js file and not supporting files like the _FeatureTable.js. You will have to call "this.parentWidget.publishData" from inside the _FeatureTable.js

MajdiTurkman1
New Contributor III

Thanks again Robert !

0 Kudos