# Add / Edit page missing

**URL:** <https://forum.radzen.com/t/add-edit-page-missing/837>\
**Category:** Angular\
**Created:** [January 18, 2019, 5:13pm UTC](https://forum.radzen.com/t/add-edit-page-missing/837 "2019-01-18T17:13:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heinz](https://forum.radzen.com/letter_avatar_proxy/v4/letter/h/f04885/32.png) [@Heinz](https://forum.radzen.com/u/Heinz)\
**Post date:** [January 18, 2019, 5:13pm UTC](https://forum.radzen.com/t/add-edit-page-missing/837/1 "2019-01-18T17:13:24Z")

</div>

I have created a database with some tables.

When I select "CRUD" and "infer schema" and run the app in Radzen I see Add/Edit pages for all tables.... except for one table.

What could be the reason that for a table the "add/edit" pages are not generated?

On database level all tables have primary key....and I have deleted "client" directory and execute "infer schema" again... but still I see no add/edit page for this one particular table.

So this is what I see for all other tables, which is OK:

 ![Add_OK](https://forum.radzen.com/uploads/default/original/1X/d6e1aa96f20682c084ee7e21540badf82d3b3de2.png)

But not for this table:

 ![Add_missing](https://forum.radzen.com/uploads/default/original/1X/c6a79022285b86e98a9893622b5f21cbc4e93118.png)

No "Add" Button"... no "Add" and "Edit" pages....

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 18, 2019, 5:16pm UTC](https://forum.radzen.com/t/add-edit-page-missing/837/2 "2019-01-18T17:16:38Z")

</div>

Can you double check this table definition for primary key? Usually Add and Edit are not created for tables without primary keys (and SQL Views).

---

<div class="post-metadata">

**Author:** ![Heinz](https://forum.radzen.com/letter_avatar_proxy/v4/letter/h/f04885/32.png) [@Heinz](https://forum.radzen.com/u/Heinz)\
**Post date:** [January 18, 2019, 5:30pm UTC](https://forum.radzen.com/t/add-edit-page-missing/837/3 "2019-01-18T17:30:08Z")

</div>

Yes, the table has a primary key:

 ![PrimaryKey](https://forum.radzen.com/uploads/default/original/1X/353c7ce35e325d996ff4f38c3ce715e560859752.png)

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 18, 2019, 5:32pm UTC](https://forum.radzen.com/t/add-edit-page-missing/837/4 "2019-01-18T17:32:42Z")

</div>

Is there anything else special in this table? Self-referencing, something else?

---

<div class="post-metadata">

**Author:** ![Heinz](https://forum.radzen.com/letter_avatar_proxy/v4/letter/h/f04885/32.png) [@Heinz](https://forum.radzen.com/u/Heinz)\
**Post date:** [January 18, 2019, 5:53pm UTC](https://forum.radzen.com/t/add-edit-page-missing/837/5 "2019-01-18T17:53:14Z")

</div>

No... but in SQlLManager I have add "Identity" in addition to "primary key" to the column, and after some testing and deleting client-directory and re-generating - now I have "Add" button....

can you confirm that "identity" for a column is necessary for "add/edit" ?

 ![Idetity](https://forum.radzen.com/uploads/default/original/1X/1738571397472a5b4f3d7ff19777d3baae14bed7.png)

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 18, 2019, 5:55pm UTC](https://forum.radzen.com/t/add-edit-page-missing/837/6 "2019-01-18T17:55:52Z")

</div>

Indeed, identity column is not necessary for Add/Edit pages.
