GeoBlazor Pro


layout: pro title: EditorLayerInfo parent: Pro Classes grand_parent: GeoBlazor Pro —

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

EditorLayerInfo Class

Configurations used for setting the layer’s editable preferences within the Editor.
ArcGIS Maps SDK for JavaScript

public class EditorLayerInfo : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 EditorLayerInfo

Constructors

EditorLayerInfo() Constructor

Parameterless constructor for use as a razor component

public EditorLayerInfo();

EditorLayerInfo(Guid, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, FormTemplate) Constructor

Creates a new EditorLayerInfo in code with parameters

public EditorLayerInfo(System.Guid layerId, System.Nullable<bool> enabled=null, System.Nullable<bool> addEnabled=null, System.Nullable<bool> updateEnabled=null, System.Nullable<bool> deleteEnabled=null, System.Nullable<bool> attributeUpdatesEnabled=null, System.Nullable<bool> attachmentsOnCreateEnabled=null, System.Nullable<bool> attachmentsOnUpdateEnabled=null, System.Nullable<bool> geometryUpdatesEnabled=null, dymaptic.GeoBlazor.Core.Components.Widgets.FormTemplate? formTemplate=null);

Parameters

layerId System.Guid

The id for the associated GeoBlazor layer containing the fields to edit.

enabled System.Nullable<System.Boolean>

Indicates whether to enable editing on the layer. Default Value: true.

addEnabled System.Nullable<System.Boolean>

Indicates whether to enable the ability to create new features. Default Value: true.

updateEnabled System.Nullable<System.Boolean>

Indicates whether to enable the ability to update existing features. Default Value: true.

deleteEnabled System.Nullable<System.Boolean>

Indicates whether to enable the ability to delete features. Default Value: true.

attributeUpdatesEnabled System.Nullable<System.Boolean>

Indicates whether to enable or disable attribute updates from the feature’s form. Default Value: true.

attachmentsOnCreateEnabled System.Nullable<System.Boolean>

Indicates whether to enable or disable attachments while creating features. Support for this is dependent upon the Editor’s allowedWorkflows and whether this operation is supported on the FeatureLayer.capabilities.operations.

attachmentsOnUpdateEnabled System.Nullable<System.Boolean>

Indicates whether to enable or disable attachments while updating existing features. Support for this is dependent upon the Editor’s allowedWorkflows and whether update or delete operations are supported on the FeatureLayer.capabilities.operations.

geometryUpdatesEnabled System.Nullable<System.Boolean>

The Editor will not display attachment file names if it is displaying image types. These images must have resize support within its corresponding FeatureLayer, ie. FeatureLayer.capabilities.attachment.supportsResize is true. Attachment types, other than images, will display an icon and its corresponding file name. Default Value: true.

formTemplate dymaptic.GeoBlazor.Core.Components.Widgets.FormTemplate

A template that defines the feature’s form content. Use this when setting the fields for editing.

Properties

EditorLayerInfo.AddEnabled Property

Indicates whether to enable the ability to create new features. Default Value: true.

public System.Nullable<bool> AddEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.AttachmentsOnCreateEnabled Property

Indicates whether to enable or disable attachments while creating features. Support for this is dependent upon the Editor’s allowedWorkflows and whether this operation is supported on the FeatureLayer.capabilities.operations.

public System.Nullable<bool> AttachmentsOnCreateEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.AttachmentsOnUpdateEnabled Property

Indicates whether to enable or disable attachments while updating existing features. Support for this is dependent upon the Editor’s allowedWorkflows and whether update or delete operations are supported on the FeatureLayer.capabilities.operations.

public System.Nullable<bool> AttachmentsOnUpdateEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

Remarks

The Editor will not display attachment file names if it is displaying image types. These images must have resize support within its corresponding FeatureLayer, ie. FeatureLayer.capabilities.attachment.supportsResize is true. Attachment types, other than images, will display an icon and its corresponding file name.

EditorLayerInfo.AttributeUpdatesEnabled Property

Indicates whether to enable or disable attribute updates from the feature’s form. Default Value: true.

public System.Nullable<bool> AttributeUpdatesEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.DeleteEnabled Property

Indicates whether to enable the ability to delete features. Default Value: true.

public System.Nullable<bool> DeleteEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.Enabled Property

Indicates whether to enable editing on the layer. Default Value: true.

public System.Nullable<bool> Enabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.FormTemplate Property

A template that defines the feature’s form content. Use this when setting the fields for editing.

public dymaptic.GeoBlazor.Core.Components.Widgets.FormTemplate? FormTemplate { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Widgets.FormTemplate

EditorLayerInfo.GeometryUpdatesEnabled Property

The Editor will not display attachment file names if it is displaying image types. These images must have resize support within its corresponding FeatureLayer, ie. FeatureLayer.capabilities.attachment.supportsResize is true. Attachment types, other than images, will display an icon and its corresponding file name. Default Value: true.

public System.Nullable<bool> GeometryUpdatesEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

EditorLayerInfo.LayerId Property

The id for the associated layer containing the fields to edit.

public System.Guid LayerId { get; set; }

Property Value

System.Guid

EditorLayerInfo.UpdateEnabled Property

Indicates whether to enable the ability to update existing features. Default Value: true.

public System.Nullable<bool> UpdateEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>