Skip to main content
Known Participant
Jun 22, 2023 10:27 AM UTC
Question

Could not display interface

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
Genius
Jun 22, 2023 10:41 AM UTC

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.

Known Participant
Jun 22, 2023 12:36 PM UTC

resolve , thank you

sanchitg0002
Inspiring
Jun 22, 2023 11:47 AM UTC

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

Known Participant
Jun 22, 2023 12:35 PM UTC

got it , thank you

harshitb6843
Brainy
Jun 22, 2023 12:03 PM UTC

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

Known Participant
Jun 22, 2023 12:34 PM UTC

got it , thank you