Hi All,
I am trying to use "dojox/mvc/Group" in html template of a WebAppBuilder Widget. However when I am giving html as
<div class="row" data-dojo-type="dojox/mvc/Group" data-dojo-attach-point="assetMVCGroup" data-dojo-props="target: at('rel:', ${this.index})">
i am facing an error while the widget is being instantiated by WidgetManager of the WebAppBuilder.
Error:
init.js:199 Error: uniqName_5 template:this.index(…) "Error: uniqName_5 template:this.index
at Error (native)
at .<anonymous> (https://js.arcgis.com/3.15/init.js:275:39)
Could someone please help me in knowing how to use "Dojox/mvc/Group" in Web AppBuilder widgets, so that, the framework recognizes ${this.index}
Thanks & Regards,
Vara Prasad.
Solved! Go to Solution.
I could solve this by changing value of the property "exprchar" to some other symbol other than '$' as below.
data-dojo-props="exprchar: '@'
Thanks & Regards,
Vara Prasad.
I could solve this by changing value of the property "exprchar" to some other symbol other than '$' as below.
data-dojo-props="exprchar: '@'
Thanks & Regards,
Vara Prasad.