Hello esri community.
I added an action to a popup and on every click it returns the query results to a table.
I want to check for a change in this section. I want to dynamically delete the old query and add new values to the query result.
I'm new to this (reactiveUtils) can you help me?
![emreaktas1_0-1720418816639.png emreaktas1_0-1720418816639.png](https://community.esri.com/t5/image/serverpage/image-id/108996i4ABF4AC74723E231/image-size/medium?v=v2&px=400)
// js kodu,
// popupTemplate başlangıcı
popupTemplate: {
title: "{adi_soyadi }",
fieldInfos: [
{
fieldName: "sapmle",
label: "Ada/Parsel",
format: {
places: 0,
digitSeparator: true
}
},
{
fieldName: "sapmle",
label: "Ad, Soyad",
format: {
places: 0,
digitSeparator: true
}
},
{
fieldName: "sapmle",
label: "Hisse Tip:",
format: {
places: 0,
digitSeparator: true
}
},
],
actions: [
{
id: "kadastroDetay",
title: "Kadastro Detayları Gör"
}
],
content: formatContentKadastro
},
// popupTemplate sonu
reactiveUtils.on(
() => view.popup,
"trigger-action",
(event) => {
if (event.action.id === "find-brewery") {
const attributes = view.popup.selectedFeature.attributes;
const info = attributes.adi_soyadi;
if (info) {
The query runs and adds new query data to the table on click. I want to delete old data
}