|
POST
|
You don't see the syntax option in the reply window, just the original post. In a reply window, you need to click the "Use advanced editor" link in the upper right and then you will get the syntax highlight option. R_
... View more
07-31-2014
04:44 PM
|
0
|
2
|
3061
|
|
POST
|
Can use arcpy.mapping.UpdateLayer to change your symbology (not create it), but you have to have pre-made layer files with your symbology. However, you should be able to use your old VBA to do this until 10.3 comes out. It is still available, just not by default. You have to "enable" VBA now. R_
... View more
07-31-2014
04:09 PM
|
0
|
0
|
879
|
|
POST
|
Also, line 53 is going to stop the for h in k8: on the first iter. would be the same as replacing the "for h in k8:" with "h = 4.729216146562631" so k9 shoud only have one value for each g in A. R_
... View more
07-31-2014
03:50 PM
|
0
|
5
|
3192
|
|
POST
|
If there is a large amount of dat in this field is there another way to sort more efficiently?
What about select by attributes Date_ IS NULL? Then calculate field = " " R_
... View more
07-31-2014
02:14 PM
|
0
|
0
|
2151
|
|
POST
|
Been a while, and no tiled services (or time) to test, but if I remember correctly, you either need to load a cached service as tiled for the first basemap that gets loaded (this is where the flexviewer "sets" the cache levels) OR actually set the LOD's in the config.xml of the FV map. R_ see <lods> near the bottom of this link: ArcGIS Viewer for Flex
... View more
07-31-2014
12:44 PM
|
0
|
0
|
2018
|
|
POST
|
So, at first I thought that the <sublayer iseditable="false"> should remove the delete selected features, but it didn't seem to make a difference, but seems to be working now. So, if I set the iseditable to false for a particular sublayer, when that layer has a selection in the attribute table, the delete option is no longer shown (though, I can no longer edit the attributes either....). Would be nice if there were a way to not allow "geometry" edits within the Attribute Table (like you can in the Edit widget) so only the attributes can be changed. For now, I just made all of them "not" editable in the attribute table, but set to edit attributes only in the Edit widget. R_
... View more
07-31-2014
12:31 PM
|
1
|
0
|
4758
|
|
POST
|
Robert, Thought about that, but would have to re-compile if I wanted to include/exclude services in the future, and I only have access to FlashBuilder now on occasion. Would like to have that as part of the widget config.xml so could be set for each layer, but am not sure how to give the skin access to the configXML. If it was in the basewidget, I'd just bring it in from the configXML as I am familiar with that. R_
... View more
07-28-2014
12:38 PM
|
0
|
1
|
1434
|
|
POST
|
How about something like this?
<value prompt="Example: 2012-02-02" isvaluerequired="true"dateformat="YYYY-MM-DD" useutc="true">UTC_DATE >= '[value] 00:00:00'</value>
I don't have Oracle either, but this is working in SQL. Looks like you were trying to evaluate between two fields UTC_Date>=TO_DATE (times the value). If not working, I put the uniquevalsfromfield="UTC_DATE" in there to get an idea of the format it was finding in the date field. R_
... View more
07-28-2014
12:31 PM
|
0
|
1
|
1396
|
|
POST
|
They are here: \src\com\esri\ags\skins\supportClasses \src\com\esri\ags\skins
... View more
07-25-2014
04:48 PM
|
1
|
4
|
3324
|
|
POST
|
Well, good to see that it is working exactly as configured. You only have one layer configured in there and it has <fields all="true"> so it was giving you all fields. Try the attached config file, I have modified it to just put up three fields and list by alias name instead of field name. also an example of formatting the date field. (don't need the gridfield in there unless you are using the fixed datagrid also.) This should get you on the right track, and just add more <field> tags in there as needed. R_ Also, if you close down the app builder, make the changes to the xml, then look at the config for that widget in app builder again, I suspect it will become clear how/where to make the changes in the builder. Again, I don't use it, so not sure.
... View more
07-25-2014
03:14 PM
|
0
|
6
|
2711
|
|
POST
|
Your last post said " This is what I have now – I .....", but didn't see any attachments, so wondered if it was visible outside your firewall. I don't use the app builder, so not sure. I would assume that the capability is there to make these changes. If not, it would not need FlashBuilder, just a text editor to modify the eSearchWidget.xml (this is what the app builder would modify). Would have to see your eSearchWidget.xml to try to figure out what is not configured correctly. R_ You don't have this still set to true do you? <fields all="false">
... View more
07-25-2014
02:45 PM
|
0
|
8
|
2711
|
|
POST
|
Is you FV or the cemetery layer visible somewhere? R_
... View more
07-25-2014
02:29 PM
|
0
|
10
|
2259
|
|
POST
|
Thanks for the idea, however, that would leave it there when there is a selection, and would appear as if you could delete something until you try, then get the error message. In this case, the delete option would never work. So, looking into it more, I am assuming that the variable showDeleteOption is set in the API when a selection is made or cleared as I can't find it anywhere in the available source other than when it is called in the skins (yet the options disappears when there is no selection, so has to be dynamic somewhere). So, for now, I'm going to try something like this since the options I can think of disable it permanently:
<s:HGroup id="deleteSelectionGroup"
width="100%"
buttonMode="true"
click="deleteSelectionGroup_clickHandler(event)"
enabled="{dataGrid.selectionLength > 0}"
includeInLayout="False"
verticalAlign="middle"
visible="False">
This should just remove the delete option permanently so it isn't available. Figure if I need to be able to delete features, I can enable that in the edit widget itself. R_
... View more
07-25-2014
02:26 PM
|
1
|
6
|
3324
|
|
POST
|
You should just have to put the <fields> info inside the <layer> tag for each specific layer and make sure you set an alias="desired name":
<fields all="false">
<field name="ZONING_CODE" alias="Zoning Code"/>
<field name="ZONING_NAME" alias="Zoning Name" sort="asc|1|string"/>
<field name="ZONING_TYPE" alias="Zoning Type"/>
</fields>
Look at example on page 1 and info on page 4 of the Enhanced Search Widget XML Configuration.pdf that Robert has supplied with the download of the eSearchWidget. This should give you all the info you need. R_
... View more
07-25-2014
02:14 PM
|
0
|
12
|
2259
|
|
POST
|
Not anywhere I can test, but think it might be related to this line:
if layer.name in dictionary_Layer.keys():
In the past, to check if a value is in a dictionary, I used syntax similar to this to get the results:
if (dictionary_Layer.has_key(layer.name)):
do stuff
R_
... View more
07-25-2014
11:22 AM
|
0
|
2
|
2886
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:00 PM | |
| 1 | 09-14-2022 07:53 AM | |
| 1 | 09-14-2022 08:23 AM | |
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|