How to create a new web app from ArcGIS API for JavaScript Sandbox?

3190
3
03-09-2016 01:20 PM
SeanDolan1
Occasional Contributor II

I am new to ArcGIS API for JavaScript.  I have customized my html code in Sandbox and want to now create/generate a new web app.  Where do I go from here?  What is my next step?  Thank you.

0 Kudos
3 Replies
RickeyFight
MVP Regular Contributor

You will want to create a new text document on your computer and then change the type to html

Then copy and past the sandbox text into the new html you just made.

Then move the html into a folder on your server (C:\inetpub\wwwroot\...)

EDIT: The exact same question was posted with answers so I am not sure if this is a different question or geonet bug

0 Kudos
SeanDolan1
Occasional Contributor II

Thanks Rickey.  I forgot to mention that I am running off of a Mac.  I've tried copying/pasting my Sandbox code into a TextEdit document => converted to plain text => and saved as a .html file.  When I click on these files to launch my browser, nothing comes up.  All I get is a blank screen...

Any tips would be appreciated...

0 Kudos
JeffJacobson
Occasional Contributor III

You need to serve the HTML page from a web server rather than opening it from your file system.

You'll want to find an IDE for web development which will make things a lot easier. For Windows I would recommend Visual Studio (Community Edition), but I don't know anything about Mac alternatives.

0 Kudos