Skip to main content
New Participant
Apr 11, 2023 7:33 PM UTC
Question

Error Evaluating UI Expression

I'm working on Appian Step-by-Step Exercise 9.

When following this step, "7. Go to the AX Vehicle record type, and next to the record type name, click View Record List. Click on a VIN to view the updated summary view interface."

When clicking on a VIN I am getting an error "Error Evaluating UI Expression Expression evaluation error [evaluation ID = RIBW5] at function a!contentLayout [line 76]: An array of components may only contain components. Received Text at index 1. (APNX-1-4198-000)".

I'm not quite sure how to move forward. 

    2 replies

    sanchitg0002
    Inspiring
    Apr 12, 2023 2:27 AM UTC

    Can you please share the code.

    From error it seems that you are directly using a text string in the list of components.

    Check the expression and see if there is any string at index 1 in the component list, you are trying to do something like below. Remove the text string and the error will go.

    {
    
    "text string",
    
    layout(),
    
    layout()
    
    }

    jayaprakashr0001
    Participating Frequently
    Apr 12, 2023 5:49 AM UTC

    Hi Straussa,

    In the components list you need to use only the layouts() instead you are using the textfield() for it. Try removing the text field it will work .

    If it's not helpful try sharing the code. So that will have a better understanding of your problem