Skip to main content
swapnar6405
January 24, 2023
Solved

ERROR while re-loading the interface readonly grid data

  • January 24, 2023
  • 4 replies
  • 0 views

Hi,

I am getting below error. Not sure what needs to be done. Can someone advise.

Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!gridField [line 36]: A grid component [label="Lead Reviewer Records"] has an invalid value for "data". "data" must be sourced from a Record Type, a query, a list of Dictionary, a list of CDT, or a data subset. Received: List of Variant

Best answer by stefanhelzle0001

And this evaluates to a list of variant. Omit the ".data" and you should be good to go.

4 replies

pragnaj0001
January 24, 2023

Hi @ swapnar6405,   Source data should be only data, (data: local!LeadReviewers). You can use dot notation, to get only data. and also for displaying data use richtext filed instead of giving direct value. Hope it will help  you. 

swapnar6405
January 24, 2023

Hi Pragna,

Thanks for replying to my query.

My expression rule which I have used is pulling only data and the structure is like below.

a!queryEntity(
xxx

xxx

xx
).data

stefanhelzle0001
Brainy
January 24, 2023

And this evaluates to a list of variant. Omit the ".data" and you should be good to go.