wherecontains not returning the value

Certified Associate Developer

Hi Team,

I have a dropdown field in which once user selects the value, based on it the grid below displays the result. 

a!dropdownField(
label: "",
labelPosition: "",
placeholder: "Years Available",
choiceLabels: local!years,
choiceValues: local!years,
value: local!selectedYear,
saveInto: {
local!selectedYear,
a!save(ri!selectedYear, local!selectedYear),
a!save(local!GridData,
wherecontains(tointeger(local!selectedYear),
tointeger(index(ri!engagement,"clientYearEnd",null())))
),
a!save(local!selectedIndex, null),
a!save(ri!selectedEngagements, null),
a!save(local!data, null)
}
)

The local!GridData is used in the data parameter of the gridField but here it is not getting any value. Can anyone please suggest what needs to be done?

Thanks

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data