Azi
03/12/2020, 9:10 PMSandii
03/12/2020, 9:21 PMsearchObj.run().each(function (result) {
result.getValue(result.columns[0]) //formula 1
result.getValue(result.columns[1]) //formula 2
return true;
}Sandii
03/12/2020, 9:21 PMbattk
03/12/2020, 9:30 PMresult.getValue(
search.createColumn({
name: "formulatext",
summary: "MAX",
formula: "formula 1 code here"
})
);
should work tooAzi
03/12/2020, 9:37 PMbattk
03/12/2020, 9:39 PMSandii
03/12/2020, 9:40 PMAzi
03/12/2020, 9:47 PMAzi
03/12/2020, 9:49 PMbattk
03/12/2020, 9:49 PMbattk
03/12/2020, 9:49 PMAzi
03/12/2020, 9:50 PMAzi
03/12/2020, 9:50 PMbattk
03/12/2020, 9:52 PMSandii
03/12/2020, 9:53 PMSandii
03/12/2020, 9:54 PMAzi
03/12/2020, 9:56 PMerictgrubaugh
03/12/2020, 10:16 PMerictgrubaugh
03/12/2020, 10:16 PMerictgrubaugh
03/12/2020, 10:17 PMResult instance's toJSON() method, each formula column of a particular type after the first will get a _N appended, where N starts at 1erictgrubaugh
03/12/2020, 10:18 PMAzi
03/12/2020, 10:34 PMbattk
03/12/2020, 10:37 PMerictgrubaugh
03/12/2020, 10:37 PMColumn instances around or process the results in the same scope in which the Search is defined. This is almost never the case for me, in which case I'd have to duplicate the code which creates the Column instance, which seems just as unsafe.battk
03/12/2020, 10:37 PMbattk
03/12/2020, 10:37 PMbattk
03/12/2020, 10:38 PMerictgrubaugh
03/12/2020, 10:39 PMerictgrubaugh
03/12/2020, 10:40 PMAzi
03/13/2020, 3:22 AMbattk
03/13/2020, 4:18 AMbattk
03/13/2020, 4:18 AMbattk
03/13/2020, 4:20 AMbattk
03/13/2020, 4:21 AMbattk
03/13/2020, 4:23 AMbattk
03/13/2020, 4:24 AM