Select to view content in your preferred language

Enhanced-Search-Widget-for-FlexViewer Part III

176816
776
04-30-2013 03:58 PM
RobertScheitlin__GISP
MVP Emeritus
All,

   Here is a new thread to post questions and discuss the Enhanched Search Widget. The old thread was getting too long.
Tags (2)
776 Replies
RobertScheitlin__GISP
MVP Emeritus
Jeff,

   At initial look, everything looks fine. Are you sure that the viewer is actually using the config-eSearch.xml and not the default config.xml? Do you see your operational layer when you launch the map?
0 Kudos
JeffmcGuire
Deactivated User
Yes, I see the operational layer.  I see my queries.  They work.  just no table at the bottom.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jeff,

   OK, bare with me here as a ensure certain things...

  1. How are you telling the viewer to use the non-standard config-eSearch.xml?

  2. Did you copy the SearchWidgetFixedDG.swf over into the widgets/eSearch folder?

0 Kudos
JeffmcGuire
Deactivated User
[ATTACH=CONFIG]30533[/ATTACH]

When I'm looking at these folders, which am I supposed to be modifying?

I was working in compiled, and I thought the config-eSearch.xml was just THE main config for the widget.  I was zipping the parent up and then feeding that to my manage custom widgets interface on the app builder.
0 Kudos
JeffmcGuire
Deactivated User
My apologies, to be honest, I do not know how I am specifying the config-eSearch.xml.  I thought that was implied by using the widget.

I have moved the swf's but I figured I would just ask a couple of questions before I go further lest I need to undo a bunch of stuff.  🙂
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jeff,

   The fact that you are using App Builder changes the whole scope of things. So based on what you have told me so far and now that I know you are using App builder, all you need to do is browse to the inetpub\wwwroot\flexviewers\[The name you gave your app]\config.xml and add the
<widget left="0" right="0" bottom="0" url="widgets/eSearch/SearchWidgetFixedDG.swf" config="widgets/eSearch/SearchWidgetFixedDG.xml"/>
just like you did in the config-eSearch.xml.
0 Kudos
JeffmcGuire
Deactivated User
Robert,

That totally got it for me.

I will continue on the path now.  thanks for getting me started.  🙂

I'm busy learning how to modify more things.  Thanks a ton!
0 Kudos
ChrisA
by
Occasional Contributor
Hi guys, is there a way to load just the left most 6 characters ?  Something like this below where NAME is the field title


<value prompt="name" uniquevalsfromfield='LEFT(6,NAME)' isvaluerequired="false" autosubmit="false">NAME like '%[value]%'</value>
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Chris,

   No that is not supported. Why would you want somthing like that?..
0 Kudos
Erickson_Contract_Surveying_
Deactivated User
Wondering if anyone has successfully masked a value returned in the Search results.  I am trying to mask hyperlinked URLs in the search results so users don't see the value, but rather a masked value (like hyperlink, instead of http://........
0 Kudos