Select to view content in your preferred language

Enhanced-Search-Widget-for-FlexViewer Part II

137101
552
04-19-2012 08:03 AM
RobertScheitlin__GISP
MVP Emeritus
All,

   I am pleased to announce the next release of my eSearch Widget.

http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e

Version 2.5.1.7 - 4/19/2012
* Added ability to search (flat/standalone/no geometry) tables.
* This time all Zooming uses the same scaling (popup, datagrid, widget results, zoom to all).
* Added Relates icon/button to datagrids so that you can click on it in the datagrid to
  open relates choice dialog.
* Move all skins to a skins package for cleaner organization.
* Links that are not associated with a field now work.
* Ability to disable the relates tab in the fixed widget is now configurable.
552 Replies
MegPeterson
Regular Contributor
Hi all -

I'm trying to style Robert's eSearch Widget popup (remove the italics, increase etc), but where is it referencing the style?

I've imported a new edited PopUpRendererSkin.mxml to handle the mapclick popups referenced in the config.xml, but now want to style Robert's to closely match it.

Any clues? I feel like I'm staring right at it, or missed the answer in reading these posts -  Thanks, Meg

Using Flexviewer 3.0, eSearch 3.0.14f (11/15/2012)
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
All,

   Version 3.2.1 is now available.

Version 3.2.1 - 4/1/2013
* Added back the wait cursor that is displayed when a search is executing.
* Added zoom to supports for row clicks in a related table (if the related data
  has geometry, both feature to table and table to feature supported).
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Meg,

   If I remember correctly I am just using the API's PopUpRendererSkin.mxml. So any changes you make to it should be seen in my widgets popups.
0 Kudos
MegPeterson
Regular Contributor
That's odd. I'm wondering if I missed a 3.0 upgrade to your widget as the mapclick and eSearch popups do not match.

I've copied the PopUpRendererSkin.mxml to a new package (fig 1) and made the edits which dispaly in the mapclick image.
But the eSearch still shows the italics for text.

I'll look back through the posts and see if I missed something, but in general, is this the right process to edit a skin by importing to a new package?

Thanks as always. You're the best tech support out there - Meg
0 Kudos
YasarKorkmaz
Occasional Contributor
All,

   Version 3.2.1 is now available.

Version 3.2.1 - 4/1/2013
* Added back the wait cursor that is displayed when a search is executing.
* Added zoom to supports for row clicks in a related table (if the related data
  has geometry, both feature to table and table to feature supported).


If you do a search on a table (no geometry) and want to see the related feature that is linked to (with geometry) on the map, it gives an error message "Invalid or missing input parameters". 😞

It works the other way around though. That is, if you query a layer with a geometry, you can view a related table (without geometry) record for each search result row and you can double click on the related record on the related results datagrid table and it will zoom to the feature. Unfortunately, this does not help in my case 😞

Robert, do you have any plans to look into making the widget work the other way also (i.e. search a non-geometry table and view/zoom to the related selected features). Otherwise I am going to try to convert those non-geometry tables to points and see if that helps to speed up the query and the data load for large counties with 500K parcels.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Yasar,

   Yes I am working on the issue currently and expect to have it fixed soon.
0 Kudos
YasarKorkmaz
Occasional Contributor
Yasar,

   Yes I am working on the issue currently and expect to have it fixed soon.


That is wonderful 🙂

That encouraged me to ask for another thing about the widget 🙂 Is there a way that we can see all the results' related records in the related results datagrid table instead of viewing one related record at a time from the selection results? Would that perhaps help keeping the original query results intact while still being able to zoom into individual search results from the related results data grid table by double-click?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Yasar,

   You have me pretty confused with that question... Related data is ONLY shown in the datagrid... The only thing that is shown in the widget results is an initial layer or table search results, not relate results.
0 Kudos
AndyCowx1
Emerging Contributor
Robert,

I have a numeric field which represents the age of a row (unit is minutes).

Rather than simply displaying the unformatted value, eg 30, 121, 250 is there a way to format the field in the results and in the table such that it would read 00:30, 02:01, 04:10 (HH:MM) ?

Thanks !

Andy
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Andy,

   Well that is a pretty unique formatting need. I currently do not have anything that supports that (and likely won't in the future). For the datagrid this is something that could be handled with a label function on a GridColumn. Not sure if you are working with source code or not.
0 Kudos