AnsweredAssumed Answered

How can I access related records with python

Question asked by jnjns67 on Nov 2, 2017
Latest reply on Nov 3, 2017 by jnjns67

I have a feature class of signposts.  Each signpost has one or more signs on it, which are stored in a related table (with a relationshipClass).  Each sign has a code which tells which kind of sign it is.  I want the user to be able to (in a web application) enter a specific code and find all the signs that have that code, and display them on a map.  Since the signs are in a table and don't have geometry, the only way to do this is find the signs and then their related signposts.  (as far as I know...) 

 

I have a client-side javascript API solution, but it is so non-robust I have to severely limit the geographic extent of the query so it doesn't just time out.  Limit it to the point that it is pretty useless.  So I want to make a geoprocessing service to handle this, but I CAN FIND NO WAY TO ACCESS RELATED RECORDS THROUGH MODELBUILDER OR PYTHON.  Despite the fact that in ArcMap the related records come back automatically and can be gotten at with the touch of a button. 

 

I'm at wit's end.

Outcomes