POST
|
Have you looked at the HTTP response in Fiddler? Your attachment was only the HTTP request. You can get the number of milliseconds since 1970 using the time property on Date: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Date.html#time
... View more
08-01-2013
11:50 AM
|
0
|
0
|
419
|
POST
|
Which device did you test it on? There is an option to not show the sign in as a pop-up. You can listen for the "showSignInWindow" event and then call event.preventDefault(). See: https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/components/IdentityManager.html#event:showSignInWindow You then could show the sign in form in a new View. See the source for the default form in the skins folder at: com/esri/ags/skins/supportClasses/SignInWindow.mxml
... View more
08-01-2013
09:30 AM
|
0
|
0
|
361
|
POST
|
Does it work one time, every time you start Flash Builder? It may be a bug in the simulator. Can you try on a device?
... View more
08-01-2013
08:31 AM
|
0
|
0
|
361
|
POST
|
I would use look for any errors in the HTTP responses. I thought the extra attributes were not in the feature class. If you trying to set date fields, they should be in the form of number of milliseconds since 1970 (myDate.time). It looks like you're trying to send a date string.
... View more
08-01-2013
08:19 AM
|
0
|
0
|
419
|
POST
|
The E0011E error is thrown if the layer's metadata has no fields or an empty fields array. Can you double check your layer's metadata? e.g., http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer/0
... View more
08-01-2013
08:11 AM
|
0
|
0
|
607
|
POST
|
I only had to make the changes I showed in my previous reply. Did you name the css file default.css or defaults.css? I also found in testing, that just changing the css file doesn't trigger a rebuild, so I had to either do a clean or make a small edit to the mxml to force a rebuild.
... View more
07-31-2013
02:52 PM
|
0
|
0
|
575
|
POST
|
Also what version of the Flex SDK are you using? It looks like the error may be coming from StyleableStageText.
... View more
07-31-2013
12:15 PM
|
0
|
0
|
361
|
POST
|
What version of AIR are you using and what device are you testing this on?
... View more
07-31-2013
12:12 PM
|
0
|
0
|
361
|
POST
|
I found a solution for 3.4. Instead of changing the PopUpRendererSkin, you need to change the AttributeInspectorSkin. The change is to update it so that it isn't using the CalendarField. Here's an example where I've set it to use a TextField instead. I then saved this to my app's "skins" package/folder. <fx:Component id="dateField"> <!--<fieldClasses:CalendarField dateFormat="shortDate" useUTC="false"/>--> <fieldClasses:TextField minWidth="200"/> </fx:Component> You then have to override two styles in a file named "defaults.css" that tells Flex to use your customized AttributeInspectorSkin. The defaults.css file must be in the root of your src folder. defaults.css: @namespace esri "http://www.esri.com/2008/ags"; esri|AttributeInspector, esri|RelationshipInspector #attributeInspector { skinClass: ClassReference("skins.AttributeInspectorSkin"); } Test app: <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:esri="http://www.esri.com/2008/ags" applicationDPI="160"> <esri:Map id="map"> </esri:Map> </s:Application>
... View more
07-31-2013
11:35 AM
|
0
|
0
|
575
|
POST
|
You need to enable your web server to serve the swz files. In IIS this can be done by adding them to the known mime types.
... View more
07-31-2013
08:34 AM
|
0
|
0
|
271
|
POST
|
Have you checked the HTTP traffic using a tool like Fiddler or Charles Proxy? You could remove the extra attributes before calling applyEdits() using: delete publishedTraceGraphic.attributes["USER_TAG"];
... View more
07-30-2013
03:55 PM
|
0
|
0
|
419
|
POST
|
The other option mentioned at the bottom of that link is to remove references to the RelationshipInspector in the PopUpRendererSkin. The RelationshipInspector uses the AttributeInspector which by default, uses mx components like DateField. This has been an issue since 3.1, but now with 3.4, you're getting the error right away.
... View more
07-30-2013
09:48 AM
|
0
|
0
|
575
|
POST
|
I am not using long term token and just asked ESRI support for this problem. You mentioned this on your previous post "If this is not an option for you, you could call PrintParameters.toJSON() and then remove the token from the url in the JSON. You'd then need to use a Geoprocessor to call your print service with the modified JSON" Can you show me how do you get the code to work on print task widget? I would like to give this a try too. Really appreciate your help. Thanks. If you're using short term tokens, like the ones generated by IdentityManager, then you don't need to remove them from the URLs in the print JSON. Short term tokens are not restricted to an IP or referer so they should work when passed through the print service.
... View more
07-30-2013
09:41 AM
|
0
|
0
|
420
|
POST
|
You'll need to add a reference to the mx.swc. See: https://developers.arcgis.com/en/flex/guide/mobile-flex.htm
... View more
07-30-2013
09:20 AM
|
0
|
0
|
575
|
Title | Kudos | Posted |
---|---|---|
1 | 03-06-2017 01:13 PM | |
2 | 03-06-2017 02:12 PM | |
1 | 06-22-2010 12:01 PM | |
1 | 08-06-2012 09:29 AM |
Online Status |
Offline
|
Date Last Visited |
03-25-2024
08:25 PM
|