eSearch Widget for WAB

2872
7
Jump to solution
12-23-2015 10:56 AM
JoshEllis
New Contributor

Anyone using the esearch widget with WAB on a rest service that contains a join. I am unable to get this to work, any thoughts would be appreciated.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Josh,

   Glad to help. Don't forget to mark this thread as answered.

View solution in original post

7 Replies
RobertScheitlin__GISP
MVP Emeritus

Josh,

   Sure I have tested layers with joins. Is there any additional info you can share?

0 Kudos
JoshEllis
New Contributor

Robert,

If I remove the join in the mxd and republish the service I can use the service but if I include the join it just says search failed. Not sure what other info would help you.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Josh,

   Lets start with seeing your config_Enhanced Search.json. You can use the advance editor to attach the file once you have zipped it.

0 Kudos
JoshEllis
New Contributor

Robert,

I attached it to your last reply.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Josh,

   So you issue is quite simple the Accounts layer does not return a shape field and thus is causing the widget to error out. Unhide the shape field in your map service and then republish.

0 Kudos
JoshEllis
New Contributor

Thanks, I completely forgot about that.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Josh,

   Glad to help. Don't forget to mark this thread as answered.