POST
|
I see the same results as you, Michael. The attribute table displays all records within the map extent, regardless of scale dependency or layer visibility. I'll leave it to experts (of which I am not) to say whether or not that can be adjusted.
... View more
06-18-2015
03:48 AM
|
0
|
11
|
789
|
POST
|
That is beautiful! Thank you Robert. Worked like a charm. I appreciate your help. Thanks also Rebecca.
... View more
02-06-2015
03:37 AM
|
0
|
0
|
1123
|
POST
|
I do not want all records of a layer's attribute table to be loaded into the attribute table. Can the config_Attribute Table.json be modified to limit results to the map extent by default, and only when the layer's scale range has been reached? Thanks.
... View more
02-05-2015
10:29 AM
|
0
|
21
|
7507
|
POST
|
I've not had success with actually adding a feature. It works up to that point (choosing the feature type), but clicking on the map after that point does nothing.
... View more
08-07-2013
05:17 AM
|
0
|
0
|
394
|
POST
|
You can create a commonwidgets directory and then change the widget xml and swf path to it. For example, I have an apps directory in which each of the FlexViewer apps sit. There is also a commonwidgets directory in the apps directory. Using the eSearch widget as an example, the code in the config file is: <widget label="Search for HUCs" left="80" top="80"
icon="../commonassets/images/m_search_right.png"
config="../commonwidgets/eSearch/eSearchWidget_HUCs.xml"
url="../commonwidgets/eSearch/eSearchWidget.swf"/>
... View more
09-13-2012
03:12 AM
|
0
|
0
|
241
|
POST
|
Thanks Robert. I did a search on the problem before posting, not a very good one apparently. 🙂 I appreciate your help. Mike
... View more
08-25-2011
02:42 AM
|
0
|
0
|
199
|
POST
|
Using 2.4, I have popups on sublayers from a secure (token-based) Map service. The first few times I click on a feature I get all of the information. After that, the popup for a feature only displays the title and none of the fields. Any ideas? Thanks.
... View more
08-24-2011
10:14 AM
|
0
|
3
|
642
|
POST
|
Thanks for the 1=1 workaround, Mark. Works like a charm (I'm using the 2.3.1 viewer). Just as an fyi, 1 small issue (which I could easily get around) with the get unique values is that it would not retrieve the values if the field has an alias in the rest service. Thanks again for all of your help and sharing the widget.
... View more
05-17-2011
04:48 AM
|
0
|
0
|
579
|
POST
|
In SelectionByAttributes.mxml the function retreiveFieldValues, I had to comment out the query.where"1=1" and add a new line of query.text = "%". Not sure why text worked and 1=1 did not work on your layer, as both methods are doing the same thing. If you can access the source code, I would suggest making the change. //query.where = "1=1";
query.text = "%"; URLs with 1=1 are blocked by our IOT folks. I've had to use OBJECTID>-1 for queries; unfortunately, I am unable to access/change the source code...but I definitely think that is the issue. No matter what layer I use from our server I have the same problem, but no problems with the arcgisonline sample data. Thanks for your help Mark.
... View more
03-31-2011
02:02 AM
|
0
|
0
|
267
|
POST
|
Mike, Unfortunately this is just the way that it is in my widget and all of esris as well. The issue is that the field is either or (either it is a link field or a display field, not both). This is just a coding limitation. My immediate suggestion is add another field to the data if it is absolutely necessary to have both. Thanks Robert. You've saved me from further banging of my head against the monitor!
... View more
03-30-2011
04:57 AM
|
0
|
0
|
385
|
POST
|
This is a great widget. I got the hyperlink to work, but my problem is I can not display the linkfield as an individual field in the grid or the InfoPopup. Ideally, I need that as the first field listed and to also be part of the hyperlink string. The field in the code below is Well Log ID. I tried listing the field twice in the fields list, makes no difference. Any suggestions appreciated. Unfortunately, I don't have a flex compiler, so can only edit the widget.xml.
<layer>
<name>All water wells</name>
<fields>Well Log ID,Aquifer Elevation,Bailing Rate,Depth to Bedrock,Bedrock Elevation,Pump Rate,Screen Length,Static Water Level,Total Well Depth,Owner,Owner Address</fields>
<linkfield>Well Log ID</linkfield>
<linkprefix>https://secure.in.gov/apps/dnr/water/dnr_waterwell?refNo=</linkprefix>
<linksuffix>&_from=SUMMARY&_action=Details</linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
<zoomscale>9027</zoomscale>
<forcescale>false</forcescale>
</layer>
... View more
03-30-2011
03:15 AM
|
0
|
0
|
385
|
POST
|
Mike, Do you mean you are not getting a full list or none at all. If you are not getting a full list then it has been mentioned previously in this thread If you are not getting any values at all, please post your selectionwidget.xml file. Thanks for replying Mark. I am not getting any at all. <?xml version="1.0" ?>
<configuration>
<layers>
<layer>
<name>Water Wells</name>
<url>http://dnrmaps.dnr.in.gov/ArcGIS/rest/services/ProgramMaps/WaterWells_DNR_102100/MapServer/1</url>
<titlefield>DBLREFNO</titlefield>
<linkfield></linkfield>
<fields>
<field name="DBLREFNO"/>
</fields>
</layer>
</layers>
<zoomscale>50000</zoomscale>
<info>widgets/InfoTemplates/InfoPopupWidget.swf</info>
</configuration>
... View more
03-30-2011
02:28 AM
|
0
|
0
|
267
|
POST
|
Great widget Mark, just what I've been looking for. I do have a problem with the Get Unique Values not loading, however. Everything else works great. Is there a setting for the layer's service I need to look for? Thanks. Mike
... View more
03-29-2011
04:17 AM
|
0
|
0
|
267
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|