Update column & row failed

Hi All,

I have return data to the textbox which is worked as expected but when i try to update it wont update in airtable. I been searching example in forum but nothing similar.
Hope anyone can suggest me about this issue. Here it is my block.

Hi,

What message is in error block?

2 Likes

@ozel1978
To check the error, setLabel1.text to error.

Thanks :blush:

1 Like

“no _id property was specified in the provided object”

That’s right, you update the object, but did not specify the value of the _id. How does the program know which line you want to update in the table?

1 Like

Forward to this, take the update row by number block, add your Row ID in the “ID property” of the block.

Lastly, add your object.

Thanks :blush:

what is my raw ID? i try doing by putting number 1 and only row number 1 only. In my design i have plenty of list name in list view. below is block.

airtable sample
image

All rows in the table have the _id field. This hidden field, but it can be obtained by using the block to get all the records from the table.

An example from my table

%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5

See the scrAirTable in project

https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/

1 Like

Actech,

I have look before of your project but seem complex for me to understand.

how to get id field from block or airtable? or direct me what should i change in my block.

in kodular i am get start value and it worked but in thunkable x, i did not find such as component.
image

1 Like

Hi, @ozel1978 :wave:

I made such tutorial a few days ago :innocent: -

2 Likes

Look block for get _id field.

%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5

1 Like

@actech

I think he wants to send the rowID from some other screen like Screen1 to Screen2.

That must be the reason he asked for StartValue feature in Thunkaable X :upside_down_face:

Thanks! :blush:

P.S. he got the solution for StartValue :innocent:

1 Like

yeah i should explain earlier my structure is.

It really help. Meanwhile about update row & column, i still stuck.

i still trying.

UpdateRowNum - this block works

%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5

UpdateRow - this block works too

%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5

1 Like

first block
First block it worked but in only save for first row. i have plenty of list from spreadsheet.
suppose when i click any row from list below. it should able to update. below is my list in airtable.
image

second come out such as error.
trouble updating row"" invalid parameter validation failed. check your request data

You might be using a listview for displaying the column from Airtable.
If you click 1621 (which is the first item in Airtable’s column), the first row will update.
If you click the second one, the second one will update & so on.

If you want to do like this, these blocks might help you -

Because in Airtable, you have a column named id.
In blocks, you have added the property name as _id.
That’s why this error is coming…

Thanks! :blush:

1 Like

I have improved example of the work on scrAirTable

https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/

1 Like

here it is my full block. i have tried as per suggest but still get an error.

what was wrong on my block at row object at button 4?
on list view should be fine because i want to be like that.