I have a SAIL user input form that gathers user-entered data and keep getting th

Certified Senior Developer
I have a SAIL user input form that gathers user-entered data and keep getting the following error:
ERROR:An error occurred while evaluating expression: newProduct_cdt.notes:ac!newProduct_cdt.notes (Invalid index: Cannot index property 'notes' of type Text into null value of type IPS_Product?list) (Data Outputs)
I have 'newProduct_cdt and whereTo_txt' as a data inputs and in my form:
abc_getProductData(
newProduct_cdt: ac!newProduct_cdt,
whereTo_txt: ac!whereTo_txt)

Data outputs are:
ac!newProduct_cdt is stored as newProduct_cdt
ac!whereTo_txt is stored as whereTo_txt
The fields are all basic user input fields (see example below)

a!paragraphField(
label: "Notes",
labelPosition: "ABOVE",
value: ri!newProduct_cdt.notes,
saveInto: ri!newProduct_cdt.notes,
refreshAfter: "UNFOCUS",
required: false,
validations: {}
)

The I got errors for each part of the CDT. The...

OriginalPostID-166767

OriginalPostID-166767

  Discussion posts and replies are publicly visible