Several years ago, I got the source code of JSViewer, which looks like FlexViewer 3.0 and was built in 2008 and http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.2
Does the JSViewer have any update? If yes, where can its source code be found? Or if there is any sample templets that are somehow similar? Thanks if you can share the information.
Solved! Go to Solution.
Hi Shaning,
Check out my response to this question for an open source alternative: Re: Javascript Viewer like the Flex Viewer with S/C
Regards,
Tim McGee
Shaning,
ESri stopped the support for that viewer a number of years ago, the replacement is the web app builder developer edition:
Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
the only condition is that you need to have a web map Id from either arcgis online or portal.
regards
Anthony
Anthony:
Thanks for you to provide the source. I downloaded it. Could you help for the additional 2 Q's below:
1) Since I want to do the development, can I use VS2010 as the IDE?
2) Is it required to run the startup.bat?
Thanks.
Shaning
Shaning,
The web app builder runs on top of node.js so the startup.bat starts up the nodejs server, see the help:
Get started—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
i presume you can use visual studio, but I have not tried myself.
Regards
Anthony
Thanks for your quick response. I run the startup.bat but failed to provide our company's url. Is it the required step? Or can I deploy it on to my IIS w/o running the startup? For V1.2 JS Viewer, I can open the index.html using a browser directly. But it does not work for this one. Is there some proxy issue here? Thanks again.
shaning,
i urge you to read the getting started link I posted above as there are a few details in there that you need to be aware of to run the web app builder
Hi Shaning,
Check out my response to this question for an open source alternative: Re: Javascript Viewer like the Flex Viewer with S/C
Regards,
Tim McGee
Tim: Thanks for your response. I downloaded your code (actually I downloaded you V3.1.1 a while ago). But got a new problem. when I opened the index.html on a browser, only the banner displays. Did I miss some steps? Thanks.
Tim: Thanks for your response. I reviewed your code and saw your reference paths. I will use http:// to substitute them. Thanks again.