I feel like what I need to do is fairly simple, but I find the documentation confusing for using the Javascript API, probably because I'm new to it.
-----------------------------------
I published a map/feature service.
The data is inside an enterprise geodatabase.
-----------------------------------
The data consists of:
1) A point feature class that shows the location of different companies and contains the company name
2) One table that lists contact information for people and the company they are with
3) One table that lists generic contact information for the company
-----------------------------------
In ArcMap, I created an MXD. I added the point feature class and created 2 relates, one to the company table and one to the people table.
I then published this MXD as a map/feature service.
-----------------------------------
I need to make a web map that shows the location of the point feature class and when I click on one of the points I want it to show the related information.
How do I go about this?
How do I get the related information to show up when I click the point?
Can someone just point me in the right direction?
It doesn't need to be fancy.
Thanks for your help.