These are chat archives for tmcgee/cmv-wab-widgets

8th
Feb 2017
Tony Duerkop
@tduerkop
Feb 08 2017 17:26
@tmcgee I week or so I asked a question in the cmv-app group about adding text capabilities to the draw widget. You refered me to your cmv-wab-widgets repo. Works great but when I try to follow the 3 steps (Changes to your CMV Application) you outline to incorporate the wab draw widget to my existing project I get an error "Uncaught TypeError: this.widgetManager.loadWidget is not a function" I have double checked to make sure that I am using the dev version of the cmv-app and that the steps outlined are correct
. Any ideas? Also I added the wabapp-config.js since I was getting an error with out it. Bringing this up since it was not outlined in the steps giving in the cmv-wab-app repo. https://dev.dannenbaum.com/hcrma_dev/viewer/
Tim McGee
@tmcgee
Feb 08 2017 17:45

@tduerkop you also need to use the _WidgetMixin.js file included in my repo here. I may not have made that clear in the instructions.

That version has just a few extra lines of code needed to support WAB.

There is a cmv/cmv-app#666 to cmv by @roemhildtg that should remove the need for using a custom version of _WidgetMixin.js.

And as an FYI: We are close to making most of the customizations necessary to use WAB a part of the core CMV project.

Tony Duerkop
@tduerkop
Feb 08 2017 17:59
@tmcgee Ahh I see the differences now in the _WidgetMixin.js Thanks! I have been watching the traffic on the changes to the mixins and had a hunch that would change implementation. Cool stuff if we can potentially implement WAB apps with ease and not have to deal with the rest of the esri AGOL malarkey.
Tim McGee
@tmcgee
Feb 08 2017 18:30
I will keep trying to make it easier and as malarkey-free as possible. ;)