|
POST
|
Not sure, but a good place to start would be to open the mxd's that the services are based on and make sure they open and bring in the data correctly. Might give you an idea of where it is broken. If not, might try to re-publish the service after re-sourcing to the copy of the data. R_
... View more
07-25-2014
10:53 AM
|
0
|
0
|
1793
|
|
POST
|
Unfortunately, still on 10.0 (don't ask me, not my choice) and that option didn't exist until 10.1. Looking at the source for AttributeTableOptionsMenu.mxml I see this:
<s:HGroup id="deleteSelectionGroup"
width="100%"
buttonMode="true"
click="deleteSelectionGroup_clickHandler(event)"
enabled="{dataGrid.selectionLength > 0}"
includeInLayout="{showDeleteOption}"
verticalAlign="middle"
visible="{showDeleteOption}">
and in the AttributeTableSkin.mxml:
private function updateOptions(featureLayer:FeatureLayer):void
{
dataGrid.editable = isFeatureLayerUpdateAllowed(featureLayer);
optionsMenu.showZoomToSelectionOption = featureLayer.map && featureLayer.layerDetails;
optionsMenu.showDeleteOption = isDeleteOptionShown(featureLayer);
optionsMenu.showAttachmentsOption = isAttachmentsOptionShown(featureLayer);
optionsMenu.showRelatedRecordsOption = isRelatedRecordsOptionShown(featureLayer);
}
Yet I can't figure out where showDeleteOption is set???? Any ideas? Thanks again, R_
... View more
07-23-2014
05:40 PM
|
1
|
8
|
3324
|
|
POST
|
I am using the FV3.6 with the EditWidget and AttributeWidget. I have the edit widget to only allow attribute updates, no add or delete features, no merge, update, geometry, nothing but <updateattributes>true</updateattributes>. In the edit widget it appears to honor it. If I have the edit widget open and click on a feature, the popup allows me to modify the attributes that I have configured, and nothing else. If the edit widget is open, and I expand the table from the attribute table widget, I can also modify the attributes directly, but only if the edit widget is open (on editable feature layers). Fine, this is what I was expecting to see. However, if I have a feature selected in the edit widget, the attribute table widget gives me the option to "Delete Selected features", and if selected WILL delete the feature, even though the edit widget is set to not allow that. So, where does the attribute table widget get it's options of what it is allowed to do? Is there a way to make it honor the layer settings so that it is not possible to delete a feature from the attribute table widget? Also, when I select a feature with the edit widget, it will also select that feature in the attribute table, which is nice. However, now and then, it doesn't work, and I need to close/re-open the edit widget one to many times (sometimes a refresh of viewer) before it works like that again, and will just select in the edit widget, and not pass the selection on to the attribute table widget. Any ideas as why this is happening and/or how to fix? Thanks for any help, R_
... View more
07-23-2014
01:25 PM
|
0
|
14
|
7935
|
|
POST
|
Again, from the documentation:
<result>The container used to configure the search result's pop-up, [added at 3.5.] It has the following child tags:
<title> Text title displayed in the resulting pop-up. <description> Text description displayed in the resulting popup. You can configure the <title> and <description> using custom description functionality that allows you to display pop-up content using a custom sentence or paragrah structure and supports field substitution using a {FIELD} style syntax. This seems like a nice option, however, it appears as if it is a child of the <geocoder> tag. Seems like it should be a child of the <mapservice> tag, especially since it allows the description type custom popup info. Doesn't make sense to me to have this under the <geocoder> tag unless ALL your locator/mapservices have the same attributes, etc. The example in the documentation ArcGIS Viewer for Flex is for a live traffic feed. However, if I try to use something similar, but also want to use mapservices, OR, just mapservices but more than one, it will show a popup "template" but will not populate it unless they all have the same attribute names. So, if I search my sewer manholes and have it set as such:
<result>
<title>Search result for {FacilityID}:</title>
<description>
<![CDATA[Popup for {FacilityID}
<img src="{URL}" width="130" height="100"
hspace="0" vspace="0"/>]]>
</description>
</result>
Then search for a sewer manhole, I get: If I then enter a street name in the same search box, I get: Since there is not a FacilityID field in the streets layer the variables aren't substituted. Am I just using this wrong, or is it pretty much only useable with only one geocoder and/or all searched services have the same schema (or at least fields)? Thanks, R_
... View more
07-16-2014
04:39 PM
|
0
|
1
|
1517
|
|
POST
|
From the headercontroller documentation:
<name>Name given to the layer when displaying the search results, default behavior is to display the layername. [Added at 3.2]
Seems that when I put the <name> tag in my headercontrollerwidget.xml it appends the name value after the layername, not instead.
<mapservice>
<url>http://arcgisprod01.ci.richland.wa.us/ArcGIS/rest/services/PublicWorks/SDmanholes2Bnumbered/MapServer</url>
<layerids>2,3</layerids>
<searchfields>FacilityID</searchfields>
<name>Storm Feature</name>
</mapservice>
Am I missing something here, or is it going to still add the layername as well as any name tag values? R_ Using OTB compiled FV3.6
... View more
07-16-2014
03:49 PM
|
1
|
1
|
2140
|
|
POST
|
Hi Robert, Nice changes to the skin, really like the option of resizing the infowindow to "fit" the results and is working fine. However, I have noticed that if you have related records, once you push the "Show Related Records" tab, the resize option no longer works until you reload the flexviewer (even if you Hide Related Records). I know you do not intent to spend any time supporting these changes, but wondering if you might have an idea as to why this "breaks" it and point me in the right direction? Thanks again, R_
... View more
07-10-2014
01:12 PM
|
0
|
1
|
1466
|
|
POST
|
Not sure if it will work for you, but I just tried this in 3.6 and seems to be working fine. http://www.arcgis.com/home/item.html?id=edd4a2b7c722493a8b08f53eaa131e1e R_
... View more
06-27-2014
06:37 AM
|
0
|
0
|
1289
|
|
POST
|
Know this is an old thread, but thought I'd post here in case it helps someone out in the future. I had the same issue. Turns out that you need to have the layer name and alias name the same for it to give you the photo field drop down option. We have sde datasets, so the layername would be similar to DataBase.DBO.layername, in the map, we didn't like the extra info so renamed them (or tried setting alias in sde) to just the layername. No joy, the photo field disappears and had to keep the names the same in order for this feature to work. R_
... View more
06-18-2014
11:59 AM
|
1
|
1
|
2212
|
|
POST
|
Hi Robert et al., The streetview widget produces fisheye views of the streets in IE (versions 9 & 10) -- the streets look curvey when they're actually straight; however, it is working fine in Chrome. Are you aware of such issue and what is the recommended solution? Many thanks, Thanh Did anyone ever figure out where this is coming from? Just added this to my compiled version FV3.6 and am getting the "fisheye" images. Using IE 10.0.12 and Firefox 30.0 and get the same thing with both browsers... On windoze 7 box. Only thing edited is the API key. Generated a new key and pasted it into the xml config. Thanks for any insight, R_
... View more
06-13-2014
09:42 AM
|
0
|
0
|
4288
|
|
POST
|
Ionara, have you heard of python pickle? This will let you save the dictionary to a file, then extract that dictionary back out when needed so you don't need to regenerate all the time. I think a function/module, though called from another script would still need to regenereate the dict. Not sure I completely understand what you are after, but I think pickle is what you want. http://wiki.python.org/moin/UsingPickle R_
... View more
08-20-2013
05:50 PM
|
0
|
0
|
2888
|
|
POST
|
What happens if you hard code your outputPDF? something like: outputPDF = r"C:\Project\MapBook.pdf" and make sure the C:\Project folder exists. I'm wondering if the path isn't being passed correctly. R_
... View more
08-20-2013
10:29 AM
|
0
|
0
|
3947
|
|
POST
|
Seems we were both posting at the same time. When mine posted, I saw that you had already figured it out, so I deleted my "irrelevant" post. R_
... View more
08-20-2013
08:33 AM
|
0
|
0
|
1250
|
|
POST
|
Ben, Not sure on "tile" layers, but it sounds like you are putting this image into ArcMap (since you mention there may be a basemap underneath). If so, you can get properties of the layer in the mxd, Display tab, there is a transperancy setting. Othewise, you can set it with the layer properties http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000008000000 . R_
... View more
08-20-2013
08:10 AM
|
0
|
0
|
4417
|
|
POST
|
Tom, Most common cause of something like this is when someone deletes one or more files from the FGDB using windows (not ArcCatalog). R_
... View more
08-20-2013
07:58 AM
|
0
|
0
|
2494
|
|
POST
|
Not all operations require a mxd.save(). If you were exporting an output image in each iteration or something, the changes should be represented in the output. However, without a mxd.save(), the changes made by the script would not show in the mxd the next time you open it. In example 2, the mxd was set to "current" ( mxd = arcpy.mapping.MapDocument("current") ) which mean to apply the code to the currently open mxd. This would be run from the python window within ArcMap, so, you would already have the mxd open and would see the changes take place. you would then be warned if you tried to close without saving and could save if needed. Need to be carefull performing such an operation as too many mxd.save(s) within an iteration will crash python (in my case, error = 'PageLayoutObject: Error in executing ExportToJPEG' ). Often will make somewhere between 47 and 112 iterations, then crash for no reason. I had this happen in multiple scripts, once I removed the mxd.save(s), it will finish all 1800+ outputs. R_
... View more
08-20-2013
07:44 AM
|
0
|
0
|
6736
|
| 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
|