Giter Site home page Giter Site logo

Wab widgets won’t load about cmv-wab-widgets HOT 10 CLOSED

cmv avatar cmv commented on July 24, 2024
Wab widgets won’t load

from cmv-wab-widgets.

Comments (10)

tmcgee avatar tmcgee commented on July 24, 2024

@JMaps88 Does the demo code in this repo work for you without changing any code/config? I'd start there then add your layers, then any additional WAB widgets.

from cmv-wab-widgets.

Zxcvbnm87 avatar Zxcvbnm87 commented on July 24, 2024

All standard cmv widgets still work fine. I’ll try the demo code when I go into work and let you know. Cheers

from cmv-wab-widgets.

Zxcvbnm87 avatar Zxcvbnm87 commented on July 24, 2024

So I got it working on a test version that is available to the internet, however I still can not configure it work offline/stand-alone. Can you confirm that the wab repo can be configured to work offline the same way that the regular CMV widgets can be? The only difference I can see is the wab repo demo references js api 3.24 where as our version is 3.21 hosted locally

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 24, 2024

I have used the WAB widgets within CMV with a locally installed version of the JS API. There may be specific requirements for a specific version of WAB requiring a specific version of the JS API. This table shows the corresponding versions. I do not know if those are hard and fast requirements or merely guidelines.

from cmv-wab-widgets.

Zxcvbnm87 avatar Zxcvbnm87 commented on July 24, 2024

So there’s no requirement to change the wabapp-config.js to reference a local map or change the portal URL? (Not that I’m using portal)

from cmv-wab-widgets.

Zxcvbnm87 avatar Zxcvbnm87 commented on July 24, 2024

Could the problem be that we are using Arc Server 10.2.2 and if so is there a way to solve the issue without updated to a newer version?

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 24, 2024

I am not aware of any requirement to change anything in wabapp-config.js. No portal is required. The existing portalURL is there to follow WAB standards but to my knowledge is not required at all. I commented out the itemID and portalURL and everything still worked. My test did not reference a local copy of the JS API but would not expect that to matter at all.

The older version of ArcGIS Server could be a problem. You can see if the chart that the first version of WAB was released supporting 10.3. As is often the case, there were many changes from 10.2.x to 10.3.x.

You've not mentioned which version of WAB are you using. Please provide that. This repo is using version 2.8. Version 2.9 of WAB has been released but is untested.

Also, what version of CMV are you using? The code in this repo uses the most recent CMV release v2.0.0-beta.2 and has not been tested with the current develop branch.

from cmv-wab-widgets.

Zxcvbnm87 avatar Zxcvbnm87 commented on July 24, 2024

I have tested it with all three versions of WAB provided in the repo (2.6, 2.7 and 2.8) with no difference seen between the three. I am also using the most recent cmv release 2.0.0-beta2. It’s looking more and more likely that my problem stems from WAB not working with server 10.2.2. I will have to move away from using WAB widgets and find a way to use just CMV based widgets. Thanks for all your help

from cmv-wab-widgets.

GilbertLasnier avatar GilbertLasnier commented on July 24, 2024

WAB work with 10.02

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 24, 2024

@GilbertLasnier According to the chart I linked to above, versions less than 10.3 are not supported by Esri.

from cmv-wab-widgets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.