What qualifies a feature layer to support supportsRollbackOnFailureParameter

263
1
03-24-2021 09:08 AM
JonasEngedal1
New Contributor II

How can I enable supportsRollbackOnFailureParameter on a feature layer. I have tried using updateDefinition with no luck.

If I cannot change supportsRollbackOnFailureParameter myself, then how does a feature layer qualify to have "supportsRollbackOnFailureParameter": true? My feature service is branch versioned does that disqualify?

Here is a snippet of the layer definition. I have removed some parts which I expect to not be relevant.

{
"currentVersion": 10.8,
"cimVersion": "2.5.0",
"id": 100,
"name": "TestPoint",
"type": "Feature Layer",
"parentLayer": null,
"defaultVisibility": true,
"minScale": 0,
"maxScale": 0,
"canScaleSymbols": false,
"geometryType": "esriGeometryPoint",
"description": "TestPoint",
"copyrightText": "",
"editFieldsInfo": {
"creationDateField": "created_date",
"creatorField": "created_user",
"editDateField": "last_edited_date",
"editorField": "last_edited_user"
},
"ownershipBasedAccessControlForFeatures": null,
"syncCanReturnChanges": true,
"relationships": [],
"isDataVersioned": true,
"isDataArchived": true,
"isDataBranchVersioned": true,
"isCoGoEnabled": false,
"supportsRollbackOnFailureParameter": false,
"archivingInfo": {
"supportsQueryWithHistoricMoment": true,
"startArchivingMoment": 1616190474000
},
"supportsStatistics": true,
"supportsAdvancedQueries": true,
"supportsValidateSQL": true,
"supportsCoordinatesQuantization": true,
"supportsCalculate": true,
"supportsASyncCalculate": true,
"supportsDatumTransformation": true,
"advancedQueryCapabilities": {
"supportsPagination": true,
"supportsTrueCurve": true,
"supportsQueryWithDistance": true,
"supportsReturningQueryExtent": true,
"supportsStatistics": true,
"supportsHavingClause": true,
"supportsOrderBy": true,
"supportsDistinct": true,
"supportsCountDistinct": true,
"supportsQueryWithResultType": true,
"supportsReturningGeometryCentroid": false,
"supportsSqlExpression": true,
"supportsQueryWithDatumTransformation": true
},
"advancedEditingCapabilities": {
"supportedSqlFormatsInCalculate": [
"standard"
]
},
"hasMetadata": true,
"hasM": false,
"hasZ": true,
"enableZDefaults": true,
"zDefault": 0,
"supportsVCSProjection": true,
"allowGeometryUpdates": true,
"allowTrueCurvesUpdates": false,
"onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
"hasAttachments": false,
"supportsApplyEditsWithGlobalIds": true,
"supportsOidReservation": true,
"htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
"objectIdField": "OBJECTID",
"globalIdField": "GlobalID",
"displayField": "created_user",
"typeIdField": "",
"subtypeField": "",
"dateFieldsTimeReference": {
"timeZone": "UTC",
"respectsDaylightSaving": false
},
"types": [],
"maxRecordCount": 2000,
"supportedQueryFormats": "JSON, geoJSON, PBF",
"capabilities": "Query,Create,Update,Delete,Uploads,Editing,ChangeTracking",
"useStandardizedQueries": true,
"standardMaxRecordCount": 32000,
"tileMaxRecordCount": 8000,
"standardMaxRecordCountNoGeometry": 32000,
"maxRecordCountFactor": 1
}

0 Kudos
1 Reply
JonasEngedal1
New Contributor II

To answer my own question. Yes, if a feature services is versioned then supportsRollbackOnFailureParameter is true.

0 Kudos