I am facing this error in Record Type

Hello Community,

please solve my error

Whenever I edit list in the record type I get this error to add resume 

Error Evaluating UI Expression

Expression evaluation error at function a!gridField [line 36]: A grid component [label="null"] has an invalid value for "columns". A grid column [label="Resume"] has encountered an error. Expression evaluation error at function 'document' [line 52]: Document Does Not Exist or has been Deleted

please help me 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Hi,

    Looks like in your record list you have a column to display document using document function. If that is the case, some row don't have documents, because of this you may getting this error. To solve this try to handle null conditions

    ex:

     if(
    
       a!isNullOrEmpty(fv!row[recordType!yourdocumentFiled]),
       "",
       document(fv!row[recordType!yourdocumentFiled], "name") /*what ever your propert you are planning to use*/
       )

Reply
  • 0
    Certified Lead Developer

    Hi,

    Looks like in your record list you have a column to display document using document function. If that is the case, some row don't have documents, because of this you may getting this error. To solve this try to handle null conditions

    ex:

     if(
    
       a!isNullOrEmpty(fv!row[recordType!yourdocumentFiled]),
       "",
       document(fv!row[recordType!yourdocumentFiled], "name") /*what ever your propert you are planning to use*/
       )

Children
No Data