Hi
can you explain the step to do this plz
Best Regards,,,
Say you have FeatureClass1, which is connected via a relationship class to Table1. It's not enough to just add FeatureClass1 to the map - you also need to use the Add Data tool and add Table1 to ArcMap.
Then publish the map to ArcGIS Server, where both FeatureClass1 and Table1 will be served up. For example see the services at SanFrancisco/311Incidents (FeatureServer) and note that both Layer and Table are included.
The sample at Query and edit related records | ArcGIS API for JavaScript 3.18 may also help.
add the tables the relationships are based on to your map