I want filter out data from my data set array on basis of any like condition ?
Can i use reject function for that ? but how i will do this as its accepting first parameter as function.
reject(fn!isnull, {1, null, 3})
reject("*test*",local!dataset.fieldName) - Syntext might be incorrect but i want something like this
Discussion posts and replies are publicly visible
Hi sauravk ,
Yes can filter out the data. But to achieve it, we should create one rule which should contain the logic to remove the word from the list.
For Example
removeWord() Functionif(ri!inputWord="Word", true, false)
With Reject,
load( local!dataset: { { fieldName: "Test" }, { fieldName: "Word" } }, reject( rule!removeWord, local!dataset.fieldName ))