Foreign key on arcGIS server feature layer

501
1
Jump to solution
05-08-2017 07:00 AM
SaraEL_MALKI
Occasional Contributor II

Hi everyone,

I'm newbie to arcgis server so please forgive my basic questions,

on my featureLayer attribute table, there is a Column referring to another feature Layer(as example: A commerce FL (Id, name, location, Id_of_activity) that id of activity refers to a table where there is activities and their Ids (Not a spatial table), Hav you any idea when it comes to PopUp template, How can I display the name of the activity instead of its Id ? 

the same question If I have TWO Feature Layers ? 

0 Kudos
1 Solution

Accepted Solutions
SaraEL_MALKI
Occasional Contributor II

Hi everyone,

the answer of my question was in the documentation of the ArcGIS API for JavaScript, there is a function called "RelationShip Query" and it does the work that I wanted,

that's the link for the interested people:

RelationshipQuery (legacy) | API Reference | ArcGIS API for JavaScript 3.20 

Best regards.

View solution in original post

0 Kudos
1 Reply
SaraEL_MALKI
Occasional Contributor II

Hi everyone,

the answer of my question was in the documentation of the ArcGIS API for JavaScript, there is a function called "RelationShip Query" and it does the work that I wanted,

that's the link for the interested people:

RelationshipQuery (legacy) | API Reference | ArcGIS API for JavaScript 3.20 

Best regards.

0 Kudos