I am facing this error in UI when m trying to modify the UZ. Code which I used is below:
a!localvariable( with( local!uzReadOnly: rule!TM_QR_getListUzById(UzIds:ri!formReportableSegment.UzId), a!sectionLayout( label: " Details", columns:{ a!textField( label: "UZ", labelPosition: "ADJACENT", value: local!uzReadOnly.UzCd & " - " & local!uzaReadOnly.UzName, readOnly: true )},
I tried indexing it but still throwing same error.
Discussion posts and replies are publicly visible
Is UzCd an array? Can you show us what the local!uzReadOnly returns and if it's a CDT the CDT info?
this rule :rule!TM_QR_getListUzById(UzIds:ri!formReportableSegment.UzId) , the UzIds is an array.
UzCd in CDT is type Number(Integer)
So local!uzReadOnly.UzCd is an array and this is your issue. You want to display an array of numbers in the text field?
EDIT:
I misread your response. You said UzIds is an array.
The issue may be because your local variable is not named correctly? local!uzaReadOnly.UzName has an extra "a".
Can you post a screenshot of the local!uzReadOnly CDT?