Preview of two great new widgets coming out mid January 2011

30373
156
12-30-2010 10:46 AM
RobertScheitlin__GISP
MVP Emeritus
All,

   I have been working hard on two great new widgets that I want you to preview. The final versions will be made available Mid January 2011 and submitted to the Flex a Widget competition.

http://www.esri.com/events/devsummit/get-involved/widget-challenge.html

The first is a new route widget for FlexViewer 2.2

Its' feature include:


  • Up to ten stops that can be added to the map interactively or by single line address matching using Bing geocoder.

  • Up to ten point barriers that can be added in the same fashion as stops.

  • Interactively added stops and barriers are automatically reverse geocoded.

  • You can calculate by time or distance and optionally use best sequence.

  • Route segments can be individually clicked in the directions list and visualized using a polyline animation (Thanks to Mark Deaton).

  • The big deal for this widget is its' printing capability. Both direct printer output and PDF output are supported. Multi page output with headers and footers and the option to include the large route image are all included. The individual direction segments have maneuver arrows that are included by default but can optionally be turned off. Things like configuring alternating directions background color can also be configured.


So if you are a developer and don't care about routing but want to know how to do moderately advanced multi page printing and AlivePDF techniques than this widget is for you.

Preview here:
http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-route.xml



The second one is a new infoTemplate for featurelayers.

The Attachment Relate Info Window Widgets' features include:


  • Ability to specify which fields are displayed

  • Specify one link field that will display as a clickable text or an actual image in the info window

  • Buttons at the bottom of the window for Zooming to feature, querying attachments, querying related features or tables

  • Attachments are preview only and are displayed in a custom grid popup not the standard attachment inspector.

  • Relates are initially displayed in a grid that allows for the selection of which related feature you want to preview and then when you choose the one you want to see then a floating datagrid is displayed with the related records.


In the examples below click on the point in the screen.

Preview of attachment and link capability:
http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-attachment.xml

Preview of related feature capability:
http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-relate.xml

preview of image link in info window:
http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-infoimage.xml
Tags (2)
0 Kudos
156 Replies
RobertScheitlin__GISP
MVP Emeritus
Bjorn,

   Thanks that is potentially some good news.
0 Kudos
MarshallPlants
New Contributor
Robert,

That got it working.  Thanks for your help.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
All,

   Version 2.2.1 of the Route widget is now available.


Updates:
* Added tooltip for add route stop and add route barrier.
* Added search button to the stops and barriers text input boxes
* Changed widget packaging structure so that assets (images) are now contained in the main widget folder (this makes copying the widget to a new FlexViewer Version easier).
0 Kudos
JonFisher
New Contributor III
This looks fantastic, but when I try it out at http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-relate.xml, after I click "done" I usually get this error message every time:
Invalid value for parameter 'relationshipId'

Is anyone else seeing this?
0 Kudos
NathanEnge
Esri Contributor
Robert, concerning andrea's issue with geocoding. Could it be a browser issue, more specifically a viewing IE8 with compability turned off. For several clients, I have had to tell them to Display all websites in Compatibility View. And turn off popup blockers.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jon,

   Are you clicking on the wells that are right in the area that the map comes up at? Are you zooming to another location that might not have good related tables defined?
0 Kudos
JessicaKilpatrick
New Contributor II
As KF mentioned before i was also wondering if it is possible to configure a hyperlink field inside the related table.  I didn't see a response to his question, does this mean it is not possible?

Thanks again Robert!
      -Jessica
hi Robert,

Currently, are you able to configure hyperlink field inside the related tables? I didn't see that in the xml config file and in the live example.  Please do consider this enhancement if not available yet.

Thanks,
KF
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
All,

   No it is not possible to put a hyperlink in a related table. I do not attempt to control any of the data that is returned by the relate query. If I were to add that ability (as of right now I don't have that intention) than that would force you to define all the fields and other info for the related tables making setup of this widget very burdensome.
0 Kudos
ShannakaBeveridge
New Contributor II
Hi,

When I use the compiled examples on my server they work, but when I configure it to use with my own layers the Show Attachments and Show Related buttons don't work (no popup, no error or reaction whatsoever). These layers have attachments that I can see in the Edit widget. Is there something I am missing?

Cheers,

Shannaka
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Shannaka,


   Sounds like a configuration issue. Post the config file you created for your layer. Like the IWT_311.xml
0 Kudos