How to "publishData" from the Attribute Widget

2640
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 Esteemed Contributor

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 Esteemed Contributor

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

MajdiTurkman1
New Contributor III

Thanks again Robert !

0 Kudos