Hi Mat,Welcome to Esri Forums! Thank you for posting your question here.As you posted in the JavaScript API forums, I am going to give you a few JavaScript related resources to help you on your way.Here are some examples of working with popups and the JavaScript API that you can download and modify:JavaScript popup sample applicationsFor getting started with JavaScript and getting more comfortable with the core concepts, here is the place to begin:JavaScript Tutorial - Build your first applicationThe JavaScript API works with services that are already published and online, so shapefiles and templates that come with ArcGIS 10.2 aren't really part of this conversation. If you are still working on getting services published, here is a good resource to work your way through:Approaches for publishing services with ArcGISHope this helps!-Noah