Getting an error on user filter "Build An Application: Step 6"

I'm going through the Appian Developer's course, and am not able to get through "Build An Application: Step 6". I'm getting a "Invalid index: Cannot index property 'vehicleMake' of type Text into type RecordType]." Can't figure out where the bug's coming from since I'm just copying the code straight out of the exercise. Here's the code for the filter:

a!recordFilterList(
name: "Make",
options: a!forEach(
items: local!vehicleMakes.data,
expression: a!recordFilterListOption(
id: fv!index,
name: fv!item.make,
filter: a!queryFilter(
field: 'recordType!AE Vehicle'.vehicleMake,
operator: "=",
value: fv!item.make
),
dataCount: fv!item.count
)
)

Any ideas for why this is wrong?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data