vennila ramasamy
12/13/2023, 1:00 PM"SUM(formulanumeric)_1": "0",
how to take it?reptar
12/13/2023, 4:37 PMResult.getValue()
that was sent as a search column. If created in the UI, you can use the saved search export tool to get the same info.reptar
12/13/2023, 4:38 PMreptar
12/13/2023, 4:48 PMconst val = result["SUM(formulanumeric)_1"]
reptar
12/13/2023, 4:49 PMconst val = result.values["SUM(formulanumeric)_1"]
. I don't recall offhand. Inspect the objecterictgrubaugh
12/13/2023, 5:08 PM"SUM(formulanumeric)_1": "0",
? That looks to me like you're logging out a plain JS object. Like @reptar says, if you already have a plain object, you can read it like any other object:
let myResult = {'SUM(formulanumeric)_1': 0}
myResult['SUM(formulanumeric)_1'] // => 0
reptar
12/13/2023, 10:08 PMSearchResult
object.