Thank you so much for your incredible help. You clarified a lot for me and I have a much better idea how to tackle problems like these now. I have been able to solve a few things that I have been struggling with for weeks based upon your answers! I am still not able to see my relationship table when clicking on the parcel, but anything else works fine now. I hope that I can figure that out soon.
Just to make sure the code below is the correct approach. The way I understand it is that everything in require and in the function need to be in the exact same order. Any ordering after that does not matter (unless it would interfere with the code�??s logic, of course)? For example, I could define and use a variable for Extent before defining a variable for Query, right?
[HTML]
<script>
require(
["esri/map",
"esri/layers/ImageParameters",
"esri/layers/ArcGISDynamicMapServiceLayer",
"esri/symbols/SimpleMarkerSymbol",
"esri/layers/FeatureLayer",
"esri/InfoTemplate",
"esri/tasks/RelationshipQuery",
"esri/tasks/query",
"esri/geometry/Extent",
"esri/toolbars/draw",
"dijit/layout/BorderContainer",
"dijit/layout/ContentPane",
"dojox/grid/DataGrid",
"dojo/data/ItemFileReadStore",
"dojo/on",
"dojo/_base/Color",
"dojo/_base/array",
"dojo/dom",
"dojo/domReady!"
],
function(
Map,
ImageParameters,
ArcGISDynamicMapServiceLayer,
SimpleMarkerSymbol,
FeatureLayer,
InfoTemplate,
RelationshipQuery,
Query,
Extent,
Draw,
BorderContainer,
ContentPane,
DataGrid,
ItemFileReadStore,
on,
Color,
array,
dom) { });
</script>
[/HTML]