Feature label of related table's records
I have two datasets: parcels layer (feature class) and parcels owners (stand alone table). The parcels are linked to their owners by a relate relationship (1-many: 1-parcel to many owners). And these two datasets are published in the same map service.
I’ve build a workflow in which I click on a parcel to list the associated owners with this parcel in the results-tab. However, when the related records are shown in the results-tab, they are labeled by their OBJECTID field, and I want them to be labeled by another field (e.g. the Owner_Name field). I regularly do this by customizing the feature description for the layer. But this time, I am dealing with table, and I am not able to find where I can find the feature description of the table’s records.
Any Suggestion?
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000XaPE&feoid=Body&refid=0EM60000000XqjO" _/_img_
Best Regards,
Hani
0
-
Configure the Display Field property for the table in your map document to the field you want to use and republish the service. 0 -
I did this, but it did not work 0 -
When I had linked tables and I wanted a different field than ObjectID to display, I had to chnage the Data Link syntax so that the field I wanted was at the beginning of the statement. (By default ObjectID is chosen when the Link is built). In the case below, I wanted "LAND_USE" to be the primary field showing in the results. It has to be the first field declared.
SELECT LAND_USE, ACTUAL_FRONTAGE, FRONTAGE, DEPTH, SQUARE_FOOTAGE, ACREAGE, LAND_USE, ZONE, SCHOOL_DISTRICT_NAME, COUNTY_NAME, TIFDISTRICT_NAME, STATE_CODE, TAXKEY FROM PWKC.GISLOADER.PWC_ASSESS_BILLINGSITEDATA WHERE TAXKEY = @BillingSite_Param0 -
Hi Hani,
I know this may be a moldy post, but where you able to configure your related records to display with the field values that you wanted? I'm not sure how the related records feture labels configured, but I am unable to change it for the like of me. aarrgghh!!0 -
anyone got any solid examples of this working? 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare