|
POST
|
Hello Robert. I applied a definitionexpression but it does seem to be working. Ideas? Thanks. My service is a feature service and I added this script in widget.js ....... lLayer = new FeatureLayer(layer.url, lOptions); if(layer.hasOwnProperty('definitionExpression')){ lOptions.definitionExpression = layer.definitionExpression; } lLayer.on('load',function(evt){ ...... and in json: "url": "http://10.112.5.83/arcgis/rest/services/Biology/CNDDB/MapServer/0", ....... ....... "definitionExpression": [ {"id":0, "sql": "DIST=10"}], .......
... View more
06-02-2015
11:28 AM
|
0
|
17
|
2220
|
|
POST
|
Yes, That's correct. However, in my case where I have multiple layers is a lot easier to modify the definition expression in a configuration file rather than creating a map for each case. Thank you.
... View more
06-02-2015
08:15 AM
|
0
|
0
|
2968
|
|
POST
|
Thank you. Robert's response to your question provided the info I was looking for.
... View more
05-29-2015
08:42 AM
|
0
|
0
|
2968
|
|
POST
|
Thank you. I see how is done in the code. I was hoping to see a configuration file (perhaps json file)that you can define the layers that you use in the map and the definition expression to define which datasets to display. I am trying to migrate to JS from FLEX where you can do this in the configuration file. Suggestions?
... View more
05-27-2015
08:14 AM
|
1
|
4
|
2968
|
|
POST
|
Hello. I am newbie in the web app builder area. How can I apply a definition expression on a layer to draw only the features that meets the criteria. I looked into the layerInfos in the json file but I am not sure iof you can you use a definition expression. Thanks.
... View more
05-27-2015
06:50 AM
|
0
|
9
|
8907
|
|
POST
|
Hello all. Is there a way to use the data extract widget and define a definition expression to extract only a subset of the data? Thanks.
... View more
01-29-2015
10:02 AM
|
0
|
0
|
2833
|
|
POST
|
Thanks for the reply Robert. I was referring to the community custom built widgets that used to be posed in the ESRI's ArcGIS Viewer for Flex webpage.
... View more
01-26-2015
08:23 AM
|
0
|
2
|
2805
|
|
POST
|
I noticed that for layers that have a large number of records, the Attribute table returns the messages that there are no features. I dont know what is the cut off. I tried for 10K and it works but for 60K nope.
... View more
01-24-2015
07:55 PM
|
0
|
0
|
1855
|
|
POST
|
Hello Robert. I just wanted to verify that the widget page listing all community widgets from ESRI is gone and it's no longer available. Is that correct? Thanks.
... View more
01-24-2015
05:56 PM
|
0
|
4
|
2805
|
|
POST
|
I posted this in Flexviewer and got no response. Hopefully get a beter response here.... I developed a web app (flex 3.6) and it seems everything work well in IE and Chrome. However, Firefox displays the error seen in the attachment. I know one way to resolve this is to set the addarcgisbasemaps="false" , however I need the basemaps to be accessible. Why firefox has a problem with basemaps? Suggestions? Thanks.
... View more
12-22-2014
11:01 AM
|
0
|
0
|
4309
|
|
POST
|
Thanks Robert. To publish the app on the production server, I use sometimes the bin-release option as well, but still the xml file is not in the widget folder. When I test the app, I use the localhost of my workstation web server. When I compile the app, the xml file is not copied to the localhost. In either case, bin-release or testing the app, I have to manually copy the xml file in the widget to successfully test the app. The setting you referred to is already set that way. Thanks.
... View more
09-18-2014
08:28 AM
|
0
|
1
|
450
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Tuesday | |
| 1 | 10-22-2025 03:33 PM | |
| 1 | 06-27-2025 11:29 AM | |
| 1 | 06-16-2025 08:49 PM | |
| 1 | 06-02-2023 03:22 PM |
| Online Status |
Online
|
| Date Last Visited |
Tuesday
|