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
Hi , in queryFilter configuration, you have not written correct value for parameter "field". Please check and try to use correct field name
What's wrong with it? Why is it causing this type mismatch error?
I used the prefix "AE" instead of "AX" throughout the duration of these exercises.
You are getting indexing error because it's not able to find field "vehicle make". Just try to retype this field.