|
POST
|
We are using the latest version of AppStudio for ArcGIS Desktop and Portal for ArcGIS 10.6 We create a webmap in Portal for ArcGIS, we add the sampleserver6 wildfire feature service, change webmap's sharing property to public. When we configure the Quick Report template with webmap ID hosted on the Portal the map does not load. We created a similar webmap in ArcGIS Online account and map loads succesfully in the Quick Report Template. Any suggestions would helpful.
... View more
04-02-2020
04:41 AM
|
0
|
1
|
688
|
|
POST
|
Can you please share links on premium tiled services in Portal?
... View more
04-02-2020
04:25 AM
|
0
|
1
|
1488
|
|
POST
|
Thank you for the prompt response! I was able to run this with ArcGIS online Credentials. Is it necessary to configure the Credentials with ArcGIS online credentials? I tried adding our Portal for ArcGIS url and credentials. It did not work.
... View more
03-30-2020
08:32 PM
|
0
|
3
|
1488
|
|
POST
|
We are using AppStudio for ArcGIS Desktop version 4.2.80. We were looking forward to add custom functionality to download basemap as tpk on fly. We added services from tiledbasemaps.arcgis.com as basemap in our public webmap. However, the webmap does not load in the quick report application when launch it. It is important for us to make this work with services from tiledbasemaps.arcgis.com since these services are enabled with export tiles enabled and that would be used with ExportTileCacheTask We were able to run the sample with basemap: World_Street_Map (MapServer) Is there any configuration in AppStudio for accessing services from tiledbasemaps.arcgis.com as basemap? Or is this an expected behavior?
... View more
03-30-2020
07:49 AM
|
0
|
5
|
1572
|
|
POST
|
I have a python script that I have published as a geoprocessing service. The python script takes a CSV file and updates a Point Feature Class in Microsoft SQL SDE. import arcpy, csv, random, time arcpy.env.workspace = r"E:\SDECon\CPR.sde" # Read csv file with names csvFile = arcpy.GetParameterAsText(0) #csvFile = r'E:\SampleDataV1.csv' reader = csv.reader(open(csvFile, "rb"), delimiter = ",", skipinitialspace=True) row_values = [] for i, line in enumerate(reader): print 'line[{}] = {}'.format(i, line) print((line[0],line[1]),line[2],line[3]) row_values.append([(float(line[0]),float(line[1])),line[2],int(line[3])]) print(row_values) # # Open an InsertCursor cursor = arcpy.da.InsertCursor(r'E:\SDECon\CPR.sde\CPR.DBO.GurDevOfflinePointV1', ['SHAPE@XY',"UserIdentify","DateTimeLocation"]) for row in row_values: cursor.insertRow([row[0],row[1],time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(row[2]))]) print([row[0],row[1],time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(row[2]))]) After publishing this a geoprocessing service I ran it using Web appbuilder geoprocessing widget. The service fails I checked the error logs on the service and I get the following info: Error executing tool. OfflineEditingScript Job ID: j43e4134db18346febdcaf33f8d80fc03 : Traceback (most recent call last): File "C:\arcgisserver\directories\arcgissystem\arcgisinput\Gurminder\OfflineEditingScriptV7.GPServer\extracted\v101\offlineediting\pathTracker.py", line 26, in ['SHAPE@XY',"UserIdentify","DateTimeLocation"]) RuntimeError: cannot open 'C:\arcgisserver\directories\arcgissystem\arcgisinput\Gurminder\OfflineEditingScriptV7.GPServer\extracted\v101\CPR.sde\CPR.DBO.GurDevOfflinePointV1' Failed to execute (OfflineEditingScript). Failed to execute (OfflineEditingScript). It looks like it create a copy of SDE connection file on ArcGIS Server directories. I have made sure that SDE is registered with ArcGIS Server. However even after registereing the feature class it still creates a copy on ArcGIS server. Any suggestions would be appreciated. Thank you for your time.
... View more
03-24-2020
11:22 AM
|
0
|
1
|
950
|
|
POST
|
When you add the QMLFeatureLayer as a layer using mapView.map.operationalLayers.append(featureLayerToBeAdded) The editing capability are turned off. In order to edit I added the QMLFeatureLayer in QMLMap and did not explicitly add it using the append() method. After added in QMLFeatureLayer in QMLMap I was able to edit the feature service: Map{ id:map BasemapTopographic{} initialViewpoint: ViewpointCenter { id:initialViewpoint center: Point { x: 11805395.771211328 y: 975123.3058248572 spatialReference: SpatialReference {wkid: 102100} } targetScale: 9e6 } FeatureLayer { id: featuretrackerLayer ServiceFeatureTable { id: featureTrackerTable url: featureServerURL } } }
... View more
03-24-2020
08:43 AM
|
1
|
0
|
932
|
|
POST
|
Erwin, Thank you for the response, as suggested we would go ahead with ESRI technical support. Thank you for your time.
... View more
03-24-2020
08:33 AM
|
0
|
0
|
1451
|
|
POST
|
Thanks for notifing I was updating the post no idea why it created duplicates.
... View more
03-22-2020
06:55 AM
|
0
|
0
|
932
|
|
POST
|
Hi Team, I have been trying to access a feature service published on ArcGIS Server 10.6 using ServiceFeatureTable: I am accessing the feature service as following: FeatureLayer { id:trackerFeatureLayer ServiceFeatureTable{ id:trackingServiceFeatureTable url:"https://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/0" // credential: Credential { // username: "ABC" // password: "XYZ" // } onApplyEditsStatusChanged: { if (applyEditsStatus === Enums.TaskStatusCompleted) { console.log("successfully updated feature"); } } } Since ServiceFeatureTable inherits all the properties from FeatureTable I am trying to add a point to this feature service by using createFeature(), addFeature() and then applyEdits(). When I try using createFeature() it returns null, so I checked if the feature layer is editable or not and it returns fales. console.log("checking if edits are permitted,",trackingServiceFeatureTable.canAdd()) console.log("checking if featurelayer is editable,",trackingServiceFeatureTable.editable) var pointFeature = trackingServiceFeatureTable.createFeature(); console.log("checking pointFeature",pointFeature) Result: qml: checking if edits are permitted, false qml: checking if featurelayer is editable, false qml: checking pointFeature null Not sure what is wrong in the code, the sample service is public, tried adding credentials user1/user1 however that also fails.
... View more
03-22-2020
06:40 AM
|
0
|
3
|
1034
|
|
POST
|
Unfortunately, we would not be able to share the service with you. However, I can give you the details of the feature class that can be published on your ArcGIS Server for testing. Feature class geometry type: Multipoint Assigned Global ID: true Enabled Editor tracking: true Enable Archiving: true Database: Microsoft SQL Please let me know if there is any other information required from my side.
... View more
03-22-2020
06:32 AM
|
0
|
2
|
1451
|
|
POST
|
Erwin, thank you for the quick response. Yes we have made sure the parameters to the feature service and the layer ID are right: The app is able to read the service: Its when I click on the multipoint layer I get the error.
... View more
03-17-2020
10:26 AM
|
0
|
1
|
1451
|
|
POST
|
We are using AppStudio for ArcGIS Desktop version 4.2.80 The AppStudio is configured with ArcGIS Portal 10.6 The features service is sync and editor tracking enabled, following is the JSON of the service: { "currentVersion": 10.6, "id": 0, "name": "GurDevOfflineSyncEditorTracking", "parentLayerId": -1, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "type": "Feature Layer", "geometryType": "esriGeometryMultipoint", "description": "", "copyrightText": "", "editFieldsInfo": { "creationDateField": "created_date", "creatorField": "created_user", "editDateField": "last_edited_date", "editorField": "last_edited_user" }, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": true, "relationships": [], "isDataVersioned": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1584096599000 }, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCalculate": false, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsSqlExpression": true }, "extent": { "xmin": "NaN", "ymin": "NaN", "xmax": "NaN", "ymax": "NaN", "spatialReference": { "wkid": 102100, "latestWkid": 3857 } }, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 51, 0, 133, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "label": "", "description": "" }, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": false, "onlyAllowTrueCurveUpdatesByTrueCurveClients": false, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": true, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "GlobalID", "displayField": "Data", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "Data", "type": "esriFieldTypeString", "alias": "Data", "domain": null, "editable": true, "nullable": true, "length": 50 }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "domain": null, "editable": false, "nullable": true, "length": 255 }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "domain": null, "editable": false, "nullable": true, "length": 8 }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "last_edited_user", "domain": null, "editable": false, "nullable": true, "length": 255 }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "last_edited_date", "domain": null, "editable": false, "nullable": true, "length": 8 }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "domain": null, "editable": false, "nullable": false, "length": 38 }, { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false } ], "indexes": [ { "name": "UUID_118", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "gdb_ct3_118", "fields": "OBJECTID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "S70_idx", "fields": "SHAPE", "isAscending": true, "isUnique": true, "description": "" } ], "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "types": [], "templates": [ { "name": "GurDevOfflineSyncEditorTracking", "description": "", "prototype": { "attributes": {"Data": null} }, "drawingTool": "esriFeatureEditToolPoint" } ], "maxRecordCount": 1000, "supportedQueryFormats": "JSON, AMF, geoJSON", "capabilities": "Create,Delete,Query,Sync,Update,Uploads,Editing", "useStandardizedQueries": true } When I run the Quick Report application with feature service defined above I get the following error: Any suggestions will be appreciated.
... View more
03-17-2020
06:00 AM
|
0
|
6
|
1512
|
|
POST
|
Hello all, I have an android application built using AppStudio for ArcGIS Desktop with Qt Runtime. Is there any way via core Qt or ArcGIS Runtime for Qt to get the current location of a device in offline mode? I have been researching this and I have found that this can be done using core Android JAVA classes. I have not found any QML type in API reference of ArcGIS Runtime QT SDK that would allow offline location tracking. Any suggestions would be helpful. Thank you.
... View more
06-25-2019
04:37 AM
|
0
|
1
|
1130
|
|
POST
|
I understand, is there any way to add and access the third party node.js modules while the app is still in ArcGIS Web AppBuilder for Developer/server/app directory?
... View more
05-20-2019
06:09 AM
|
0
|
1
|
1670
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-27-2020 05:50 AM | |
| 1 | 03-24-2020 08:43 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|