Utilize WebApp Builder for Developer Widgets

3389
5
07-11-2016 04:45 AM
IsmetSK1
New Contributor

Hi,

I am wondering if one of WebApp builder for developer widgets for example the LayerList widget can be utilize from simple map application.

I am building web gis application that accessing rest resource directly, the TOC from webapp builder looks good, how do i passing my map object to LayerList widget.

Is anyone have tried this approach ?

Thanks.

Tags (1)
0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus

Ismet,

  This is not possible without a nearly full re-write of the code. WAB widget are dependent on WAB core libraries and modules that are used in the WAB app, like widgetmanager and many more. You would be best off using the JS API LayerList dijit or the old TOC widget by nliu.

IsmetSK1
New Contributor

Hi Robert,

thank you for the explanation, i will use JS API LayerList.

0 Kudos
TimMcGee1
Occasional Contributor III

Hello Ismet,

I am one of the core developers of an open source project called CMV, the Configurable Map Viewer. CMV is built on top of the Esri JavaScript API so you can use your ArcGIS Server REST resources directly without using webmaps or portal. Services at ArcGIS Online and many other external services can be used as well.

CMV includes numerous widgets available including a very robust layerControl (TOC) widget. If you prefer to use the WAB LayerList widget, you could do that too. With the upcoming version of CMV, you can use widgets created for the WebApp Builder without changing any code - either those that are included with WAB or those that developers have put together. I have created a github repo with a number of examples using WAB widgets here: GitHub - tmcgee/cmv-wab-widgets: Examples of using widgets from the ESRI WebApp Builder in CMV Other developers have already started using these widgets in their own applications with immediate success.

The freely available source code for CMV is on GitHub: GitHub - cmv/cmv-app: A community-supported open source mapping framework built with the Esri JavaSc...

Here is a list of additional widgets contributed by the CMV community: GitHub - cmv/cmv-contrib-widgets: User contributed widgets for CMV

Along with support at Github, StackExchange and GeoNet (CMV - Configurable Map Viewer), we have a chat room for exchanging ideas and getting assistance: cmv/cmv-app - Gitter  In the chat and other places, you'll find myself and other developers very willing to help you get started.

I hope this helps you.

Tim McGee

RebeccaStrauch__GISP
MVP Emeritus

added a link to your comment above to the Web AppBuilder Developer Edition - Customization Resource List

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Tim,

  Nice work. This will open a whole new realm of possibilities for users.