Skip to main content
June 22, 2023
Question

Could not display interface

  • June 22, 2023
  • 6 replies
  • 0 views

i am getting this error:

Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error in rule 'sm_stockdetailschart' at function a!richTextItem [line 89]: Invalid index: Cannot index property 'turnover' of type String into type List of Variant

how to resolve this ?

6 replies

mathieud0001
Brainy
June 22, 2023

It can't find the "turnover" property. Likely a query that returned an empty result set.

Probably would be helpful to see the contents of that rule mentioned in the error.

June 22, 2023

resolve , thank you

June 22, 2023

Index the property "turnover" with property() function.

June 22, 2023

got it , thank you

harshitb6843
June 22, 2023

You can use index() or property() function. They help you specify a value whenever the property you want to query is not available. 

June 22, 2023

got it , thank you