Skip to main content

What is the syntax for a relationship replacement token in a Map Tip?

Comments

2 comments

  • Permanently deleted user
    Hi Zack,

     

    This is possible to do. In the feature description or feature long description of the layer with the relationship, the token is of the type {relationship.field} as you say.

     

    If you look at the ArcGIS Rest Endpoint of your layer, towards the bottom of the page you should see:

     

    "Relationships:" and a list of any related tables.

     

    So for the token, use the name of the related table as the first part of your token - i.e. {relationship.

     

    Then for the field part, click on your related table and choose a field name from in here.

     

    If everything is valid, then this should show a result on your viewer.

     

    I hope this helps,

     

    Marion.

     

     
    0
  • Zack Robison
    Thank you for the help Marion, but you were only 99% right!  The first part of the token is the display name of the relationship, not the relationship name as seen at the AGS REST endpoint.  Now, I had tried this earlier but there must have been some operator error for that test because while I would have sworn that it didn't work two days ago it is working this morning.

     

    My fun fact for the day: I am aparently illiterate.  C'est la vie!
    0

Please sign in to leave a comment.