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
This error likely means that somewhere in your app you have a variable that is a record data type and you are trying to to reference "fields" out of this. I'd suggest doing a CTRL+F in your interface or expression to look for the string "fields", since you probably have a syntax error there.
I checked all my related expressions and interfaces, but I didn't find any syntax error... I wish the Appian error told me the exact object causing it..
HI Esu, As Peter said it may be happening because of you are itrying to index "fields" from record type. It wont be possible for us to locate the exact issue without seeing the code you are using.
As someone who just did this, it's not a syntax error... well kind of. Make sure your expressions -- especially in your Views & Headers, under Record Title -- have absolutely correct syntax. Your dot notation should transform into something cleaner. Your "Here are a few screen snips" comment on here shows exactly that. See how your "AX Vehicle.vehicleYear" dot notation isn't just raw text? It's transformed into autosuggested text.
That's what you need, and that was what my problem was.
© 2022 Appian. All rights reserved.