|
POST
|
To All Flex Viewer Users: I have a FlexViewer application that uses my organizations AGS v10.0 mapservices. In order to get a better quality printout I am trying to use ESRI's printing service. As such, I have configured the Print widget to use ESRI's v10.1 Print service as follows: <taskurl>http://sampleserver6.arcgisonline.com/ArcGIS/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task</taskurl> I then tried to create a pdf print with this task from my internal FlexViewer app but I received the following results: Error executing print task: [RPC Fault faultString="Unable to complete operation." faultCode="400" faultDetail="Error executing tool.: Layer "BaseMap AdminBoundaries C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services/MapServices/BaseMap_AdminBoundaries_C_StPl_FileGeo/MapServer. Layer "BaseMap Hillshade Aerials 2010 C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services/MapServices/BaseMap_HillshadeAerial2010_C_StPl_FileGeo/MapServer. Layer "BaseMap RoadsRiversRailStreams C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services/MapServices/BaseMap_RoadsRiversRailStreams_C_StPl_FileGeo/MapServer. Layer "BaseMap AdminBoundaries C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services/MapServices/BaseMap_AdminBoundaries_C_StPl_FileGeo/MapServer. Layer "Parcels Search D StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services/MapServices/Parcels_Search_D_StPl_FileGeo/MapServer. Layer "Road Alias Join D StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services/MapServices/Road_Alias_Join_D_StPl_FileGeo/MapServer. Layer "hiddenLayer_Parcels": Failed to create layer from service at http://myserver/ArcGIS/rest/services/MapServices/Parcels_Related/MapServer/0. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task)."] I am able to see these layers in my application, so it would appear to me that the problem is that these layers can not be seen by ESRI's external server. Is this the correct interpretation of this error message? If this is the case, it means that the mapservices need to be publically accessible so the data can be sent to ESRI's print server where the pdf is created? Any help or feedback is greatly appreciated. Thank you.
... View more
12-13-2012
07:12 AM
|
0
|
11
|
6596
|
|
POST
|
You should be able to do this with python scripting. You should be able to have python create a new file geodatabase. Then use ListFeatureClasses from your first file geodatabase to copy this data into your new file geodatabase. Then use ListListFeatureClasses from your second file geodatabase to append this data into your new file geodatabase onto the feature classes that were created when the data from the first file geodatabase was copied into the new file geodatabase. You might consider posting this thread in the python subforum.
... View more
12-10-2012
07:33 AM
|
0
|
0
|
3117
|
|
POST
|
Are these raster datasets? The merge_management documentation says that this data type is not supported.
... View more
12-06-2012
07:50 AM
|
0
|
0
|
2561
|
|
POST
|
Tyler: It looks like this line might show the problem. arcpy.env.workspace = "D:eCognition Results/Landcover/Buildings" Should it read something like this instead: arcpy.env.workspace = "D:/eCognition Results/Landcover/Buildings" where you are currently missing a slash.
... View more
12-06-2012
07:20 AM
|
0
|
0
|
7633
|
|
POST
|
Tyler: What exactly is the error message that you are receiving? Also, can you post the code that you are trying to run?
... View more
12-06-2012
04:23 AM
|
0
|
0
|
7633
|
|
POST
|
Tom: Do your business needs require that you use the web adf to build your application? ESRI is deprecating the web adf so I would try to avoid building a new application with this architecture. I would suggest trying the FlexViewer as there are many compiled widgets out there that are configurable to be able to meet many business needs. Hopefully, you are at least at ArcGIS v10.0 where the capability is vastly improved compared to ArcGIS v9.3.1.
... View more
12-05-2012
07:28 AM
|
0
|
0
|
413
|
|
POST
|
Could you possibly create a replica database that you would use for the report datasource? Then you could make the changes to the parent geodatabase and just push the changes to the replica database with a tool and then refresh the report map document.
... View more
11-30-2012
09:20 AM
|
0
|
0
|
583
|
|
POST
|
Tom: When I click on this link in Bitbucket I get the following error message: Oops, you've found a dead link. Use the links at the top to get back. Any idea why I cannot get to the download page?
... View more
11-21-2012
09:18 AM
|
0
|
0
|
1359
|
|
POST
|
TomLUX: Can the PrintSOE be added to a compiled FlexViewer web application by changing configuration files like Robert Sheitlin's excellent widgets? Or do you need to add it to an uncompiled Flex project? Your feedback is greatly appreciated.
... View more
11-20-2012
05:55 AM
|
0
|
0
|
1359
|
|
POST
|
From the following link: http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriLocation/Get_ArcGIS_Server_locator.htm Public Function GetAGSAddressLocator(strServerName As String, strLocatorName As String) As esriGeoDatabase.ILocator'+++ returns a locator retrieved from an ArcGIS Server
Dim pConnectionProperties As esriSystem.IPropertySet
Dim pAGSServerConnectionFactory As esriGISClient.IAGSServerConnectionFactory
Dim pAGSServerConnectionName As esriGISClient.IAGSServerConnectionName
Dim pLocatorManager As esriLocation.ILocatorManager2
Dim pLocatorWorkspace As esriGeoDatabase.ILocatorWorkspace
'+++ open an ArcGIS Server connection to the specified server machine
Set pConnectionProperties = New esriSystem.PropertySet
pConnectionProperties.SetProperty "machine", strServerName
Set pAGSServerConnectionFactory = New esriGISClient.AGSServerConnectionFactory
Set pAGSServerConnectionName = pAGSServerConnectionFactory.Open(pConnectionProperties, 0).FullName
'+++ retrieve a LocatorWorkspace from the ArcGIS Server connection
Set pLocatorManager = New esriLocation.LocatorManager
Set pLocatorWorkspace = pLocatorManager.GetAGSLocatorWorkspace(pAGSServerConnectionName)
'+++ return the locator with the specified name
Set GetAGSAddressLocator = pLocatorWorkspace.GetLocator(strLocatorName)
End Function
... View more
11-19-2012
05:05 PM
|
0
|
0
|
1333
|
|
POST
|
Corbin: Can you please post your code when you have it working with the file geodatabase? Lance: How come the NIM I referenced says that this functionality is on-hold for file geodatabases, but you say it actually does work?
... View more
11-16-2012
07:49 AM
|
0
|
0
|
569
|
|
POST
|
I think this link answers your question that this is not currently possible: http://support.esri.com/en/bugs/nimbus/TklNMDY0NDcy Is there any chance you could call this layer from an SDE geodatabase where ORDER BY is supported? You might try a personal geodatabase as it might also be supported there, but you would need to test that out.
... View more
11-16-2012
07:06 AM
|
0
|
0
|
2398
|
|
POST
|
Try this for additional information: http://resources.esri.com/help/9.3/ArcGISEngine/arcobjects/esriGeoDatabase/IQueryFilterDefinition.PostfixClause_Example.htm [Visual Basic 6.0]'this is an example of using the PostfixClause property to append a Order By clause to the query
Dim pQueryFilter As IQueryFilterSet pQueryFilter = New QueryFilterpQueryFilter.SubFields = "FULLNAME"pQueryFilter.WhereClause = "OBJECTID > 10"
Dim pQueryFilterDefinition As IQueryFilterDefinitionSet pQueryFilterDefinition = pQueryFilterpQueryFilterDefinition.PostFixClause = "ORDER BY FULLNAME"
Dim pFeatureCursor As IFeatureCursorSet pFeatureCursor = pFeatureClass.Search(pQueryFilter, True)
Dim codeix As Longcodeix = pFeatureCursor.FindField("FULLNAME")
Dim pFeature As IFeatureSet pFeature = pFeatureCursor.NextFeature
While Not pFeature Is Nothing MsgBox pFeature.Value(codeix) Set pFeature = pFeatureCursor.NextFeatureWend
Another forum example: Dim queryFilter As IQueryFilter Set queryFilter = new QueryFilter queryFilter.WhereClause = "theField = 'abc'" Dim queryFilterDef As IQueryFilterDefinition Set queryFilterDef = queryFilter queryFilterDef.PostfixClause = "ORDER BY sortField"
... View more
11-16-2012
06:04 AM
|
0
|
0
|
2398
|
|
POST
|
Try this Post to see if it provides some of the information that you are looking for in a slightly different application setting of ArcGIS Explorer http://forums.arcgis.com/threads/22126-Can-I-use-an-Address-Locator-on-the-hard-drive-or-query-attributes-via-vb.net-app
... View more
11-13-2012
09:08 AM
|
0
|
0
|
1333
|
|
POST
|
Paul: In your last post you stated: "But there are also a lot of definition queries and symbology that will require additional changes in the mxd's themselves." Can you please explain what additional work would need to be done with definition queries and symbology when moving to a new geodatabase?
... View more
11-13-2012
08:43 AM
|
0
|
0
|
1636
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 02-11-2026 10:42 AM | |
| 1 | 12-22-2025 10:08 AM | |
| 1 | 09-26-2025 06:10 AM | |
| 1 | 09-04-2025 02:19 PM | |
| 1 | 08-29-2025 08:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|