Select to view content in your preferred language

Accessing Related Records with the Enhanced Search Widget

2294
15
Jump to solution
09-06-2012 06:00 AM
MichaelVolz
Esteemed Contributor
I am creating a FlexViewer application using the Enhanced Search Widget and I cannot get the related records to appear in the application or the REST service.  How would I get access to these records?
Tags (2)
0 Kudos
15 Replies
RobertScheitlin__GISP
MVP Emeritus
Michael,

   Does your data actually require a relate (it has a one to many relationship) or can you just use a join (and then the field would be part of the layer)?
0 Kudos
MichaelVolz
Esteemed Contributor
I need the relate as I have condos and trailer parks that have 1-many relationships.
0 Kudos
MichaelVolz
Esteemed Contributor
Can you manipulate strings in the values area of the expression in the xml file?

I want to convert something like 1-Manhattan in the userlist and change the value to just capture the number 1 before the -Manhattan.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michael,

   No that is not possible currently. I have been considering the ability for a userlist to have a label and an different value, but I am not sure when or if I will get to this.
0 Kudos
MichaelVolz
Esteemed Contributor
I could see that ability useful to many people who use coded domains as its the coded domain value that gets passed.  Novice end-users would have no idea what the coded domain values are, but they would be familiar with the text value that is associated with the coded domain value.

I just joined my feature class to another feature class that has this value and populated a new field with the text value instead of using the field with the coded domain value.  Since the data changes on a weekly basis, I will need to create a python script to update this process so new records get this field correctly populated.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michael,

   Coded Domains are able to be uses as the values list as well as a userlist. You can find info on this capability on page 2 and 3 of the xml configuration pdf.
0 Kudos