Select to view content in your preferred language

Editing a stand-alone table

916
1
10-23-2013 11:42 AM
NumaGremling
Deactivated User
Hi everyone,

I am new to scripting and the API, and it would be good to have a clear idea of what to look into for this task.

I am trying to let users add information to a table (but not edit that table in any other way). Simply put, each time a user clicks the Submit button a new row will be added to the table (with the information that the user decided to submit �?? NULL values are fine if the user does not fill out all fields).

Can someone help me out with the workflow and let me know what I need to look into? I have been looking into the Attribute Inspector, and I would be fine with using that somewhere on my page (it does not need to pop up when a user clicks something �?? always having it on the page is fine).

I found some code posted by tmichael81 (03-25-2011 02:35 PM), but it is using an older version of the API and I am not sure if that would be usable with my code. Using a proxy page confuses me as well; is that always necessary?

Again, I am a beginner, and I am doing this for a master�??s project. It does not need to be perfect; I can write a whole chapter about what I would be doing differently in the future. Whatever implementation works best for a beginner is fine with me.

Thank you so much.
0 Kudos
1 Reply
BrianLord1
Deactivated User
Hi Numa,

I have a web app that edits a stand alone SDE table.  It might not apply 100% to what you are trying as I used a datagrid and allowed the user to add/delete/edit the records in the table through the datagrid in the app.  I believe the same principles can be applied to the attribute inspector but have not tried that myself.

Here is a link to the thread I started back when I was trying to figure it out. 
http://forums.arcgis.com/threads/77014-Edit-SQL-non-spatial-data-table?p=303743#post303743

I hope this helps get you started.

- Mark
0 Kudos