Select to view content in your preferred language

custom widget shows up in widget list multiple times

815
3
08-22-2014 09:36 AM
JamesEyre
Esri Contributor

I have been developing a custom widget, and now I have the widget listed multiple times in the list of widgets in the "Choose Widget" dialog when building a web app. I have tried restarting node.exe, but it does not seem to help. Is there a way to clear/reset the widget list?

Tags (2)
0 Kudos
3 Replies
JamesEyre
Esri Contributor

Well, I did find a way to do this. It is not very elegant, but it works. I just deleted the arcgis-web-appbuilder-1.0beta2\server\db\repoitems file, and restarted the node.exe.

I noticed that in the repoitems file there were multiple json entries for my widget.

The entries were all the same except for the id section:

"_id": {
"$wrap": "$oid",
"v": 39
}

Is there a more elegant way to reset the widget list?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

James,

  I have not run into this issue as of yet. Is there something that you did that caused the issue that you know of?

0 Kudos
JamesEyre
Esri Contributor

No. not that i know of. just developing my widget under the stemapp/widgets location.

0 Kudos