Select to view content in your preferred language

Error when adding new element - feature not editable

645
2
12-12-2013 03:02 AM
AnatoliiTerentiev
Deactivated User
Deat Gurus!
I try test adding feature from browser. I can edit existing features, but when trying to add - I get error - "Field is not editable". (Picture attached)
How to fix?
0 Kudos
2 Replies
AnatoliiTerentiev
Deactivated User
Fields list in attachment.
CREATE TABLE [dbo].[events](
[id] [int] IDENTITY(1524,1) NOT NULL,
[name] [nvarchar](255) NULL,
[event_type] [int] NULL,
[numeric](11, 2) NULL,
[numeric](11, 2) NULL,
[Shape] [geometry] NULL,
[ObjectID] [int] NOT NULL,
CONSTRAINT [R8_pk] PRIMARY KEY CLUSTERED
(
[ObjectID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, FILLFACTOR = 75) ON [PRIMARY]
) ON [PRIMARY]
0 Kudos
AnatoliiTerentiev
Deactivated User
In the field list - a field "id" - identity. And there is a field ObjectID, which was added during the registration table in the geodatabase. I deleted the id - and the addition was working. I am thinking - why? I have read somewhere, that if the source table has identity - field then it turns into a type ObjectID, but in my case, was created a new field...
0 Kudos