Hi,
I am seeing the below error when opening the Record Type:
The Requested Record Type Is Not Available Expression evaluation error [evaluation ID = 7b41e:b21e2] at function a!recordList: A grid component [label="null"] has an invalid value for "columns". A grid column [label="Image"] has encountered an error. Expression evaluation error at function a!imageField [line 47]: The image at index 1 in an image gallery component [label=""] has an invalid value for "document". "document" must not be null. (APNX-1-4198-000)
Can anyone pls help me to resolve this issue. Let me know if you need more details to debug this issue.
Thanks,Suneetha.
Discussion posts and replies are publicly visible
Hi ,
The error clearly states document must not be null as you are trying to display document Image.
Add a null check before a!imageField component like below:
if(
rule!APN_isBlank(fv!row.columnName)
{},
a!imageField(
images:a!documentImage(
document: fv!row.columnName
)
Hope this helps !!!
Thank you Vinay, Really appreciate on the response but I have not started looking the code in expression mode yet.. so still following the exercise in Design mode.. will definitely give a try once I get more comfortable in expression mode..
Regards,Suneetha.