Skip To Content

esri_webfeaturelayer_pausetracking (AutoLISP)

Pauses the tracking of modification edits on web feature layer features used to track which features should be updated as modified when a web feature layer is synchronized. The setting remains in effect until the (esri_webfeaturelayer_restoretracking) function is activated on the layer, or the drawing is closed, or the layer's edits are synchronized, or the layer's edits are discarded. Use the combination of the two functions (esri_webfeaturelayer_pausetracking) and (esri_webfeaturelayer_restoretracking) to control the tracking of modification edits within a single drawing session before you have synchronized the web feature layer. The AutoLISP function (esri_webFeatureLayer_setModified) can be used to override the modification tracking state.

Syntax

(esri_webfeaturelayer_pausetracking flname)

Arguments

  • flname | string | required | An existing web feature layer name in the drawing.

Example usage

Attempt to pause the tracking of modification edits on the Facilities web feature layer during the current drawing session before synchronizing:

(esri_webfeaturelayer_pausetracking "Facilities")

Result example usage

Pauses the modification edit tracking of the Facilities web feature layer during the current drawing session before synchronizing, and returns a list of true:

(T)

Return values

  • If successful, returns a list of true: (T)
  • If failed, returns a list with the first value of nil and then an associated list containing the key value "Error" and an associated error message as a string: (nil ("Error" . "<message>"))

Failed return values

A failed return value can occur for any of the following reasons:

  • (nil ("Error" . "Missing required argument."))

    The required argument is not supplied.

  • (nil ("Error" . "Web feature layer not found."))

    The specified web feature layer value is not a valid web feature layer in the drawing.

See also

  • (esri_featurelayer_restoretracking) | AutoLISP function that restores the tracking of modification edits on web feature layer features used to track which features should be updated as modified when a web feature layer is synchronized.
  • (esri_webFeatureLayer_setModified) | AutoLISP function that can be used to override the modification tracking state.