Edit Value via Webhook

FatLou
New Member

I am trying to set a value to blank using a webhook. Basically if an option is deleted from Table A I want the value Group by in Table B to be set to empty. The webhook is filtering the data properly it just is not setting the value to empty (clearing the value).

{
โ€œActionโ€: โ€œEditโ€,
โ€œPropertiesโ€: {
โ€œLocaleโ€: โ€œen-USโ€,
โ€œLocationโ€: โ€œ47.623098, -122.330184โ€,
โ€œTimezoneโ€: โ€œPacific Standard Timeโ€,
},
โ€œRowsโ€: [
<<Start: FILTER(โ€œPropertyandTenantLeasingActivityโ€, AND(([Properties]=[_THISROW].[PropertyID]),[Group by]=[_THISROW].[Space or Category]))>>
{
โ€œIDโ€: โ€œ<<[ID]>>โ€,
โ€œGroup byโ€:
},
<>
]
}

0 6 417
6 REPLIES 6

Probably you need to rephrase the syntax slightly and it looks like this.

That does not seem to work. I will keep at it. If you have any additional ideas let me know.

You have encountered a bug.
Neither the value โ€œโ€ or " " will clear the field value via the REST API.
Please submit a bug report.

I have developed a fix for the problem.
If testing goes well the change will be released on Tuesday March 17 in the afternoon Seattle time.

Once the fix is released you can specify โ€œโ€ for the field value in the Row data.

I have updated the documentation to explain how to clear a fieldโ€™s value. See topic โ€œBodyโ€ in this article https://help.appsheet.com/en/articles/1980023-updating-records-in-a-table

Awesome,

Will this also clear a value even if the column has a valid_if statement that does not include a โ€œโ€ (blank) option?

The updated field value must satisfy the valid_if condition.
That includes a field value of โ€œโ€.

Top Labels in this Space