I have a feature class and a non-spatial table in my geodatabase. I have registered my geodatabase to my server as well. Then i create a relationship class between feature class and the non spatial table to create a thematic map.
However, when i publish it to the server and add it to my application using JS API, it does not show up. Im pretty sure that nothing wrong with my code. Anyone know what to do? Please this is rather important.
ArcGIS Server : 10.4
DBMS : Postgre
Have you added both the feature class and related table into the data frame of ArcMap before you published?
The table needs to be added to the data frame as well. Publish this as a feature service; your related table should be available.