Expression evaluation error : Invalid index: Cannot index property 'fields' of type Text into type RecordType (APNX-1-4291-001)

Certified Associate Developer

I'm getting this error after completing Exercise 5_Records Part 1 in the Appian Developer learning path. I reviewed the steps, and I still don't know what's causing it. Can anybody tell me what's causing this and how to resolve it?

  Discussion posts and replies are publicly visible

Parents Reply
  • Hi Esu, you take this expression for the summary page Title.

    rv!record[recordType!AX Vehicle.fields.vehicleYear] & " " &
    rv!record[recordType!AX Vehicle.fields.vehicleMake] & " " &
    rv!record[recordType!AX Vehicle.fields.vehicleModel]

    can you check the datatype of vehicleModel and vehiclemake filed? Both field is Text datatype but VechicleYear field has a Number (Integer) datatype so cannot take different datatype to show the title.

    I take this expression.


    rv!record[recordType!AX Vehicle.fields.vehicleMake] & " " &
    rv!record[recordType!AX Vehicle.fields.vehicleModel]

    This Expression is perfectly run and shows the title page with the Make and Model filed for a specific record.

Children
No Data