Setting up Query Related Records

1209
3
01-31-2012 03:46 AM
bradcraddick
New Contributor III
My question is how to set up your mxd so that you can use the Query Related Records in REST? Is it as simple as right clicking your feature class, going to Joins and Relate and relate the table that way or am I setting up a relationship class?
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Brad,

  Yep it is that simple.
0 Kudos
bradcraddick
New Contributor III
Thanks Robert.
0 Kudos
TanuHoque
Esri Regular Contributor
Just make both origin and destination layer/table exist in the mxd. If one of them is missing, that relationship will not be advertised by a mapservice.
0 Kudos