Expression evaluation error [evaluation ID = 490fd:7fd56] in rule 'gse_scl_uiviewintakedetailsv2' at function a!gridLayout [line 1230]: A grid layout component [label=""] has an invalid value for "rows". The row layout at index 1 contains a component that is not supported in the grid layout.
What would be the cause for this Alert. UI is not breaking up anywhere.. got this in email
Discussion posts and replies are publicly visible
Someone must have seen this error on UI as well. Anyway, if possible can you share the gridRowLayout configuration? The first component in it is the source of the error so see what is configured
a!richTextDisplayField( value: { a!richTextIcon( icon: "window-maximize-alt", link: a!recordLink( recordType: 'recordType!{7d02a740-8f11-4b1d-adfa-d9ab5705, identifier: fv!item.intakeId, openLinkIn: "NEW_TAB" ), linkStyle: "STANDALONE" ) } ),
To identify the cause of the error, share the gridLayout code, especially its rows array content, where the invalid component is reported. The gridRowLayout code you shared looks fine, but the issue will likely be in how rows in gridLayout are defined or structured. Sharing the parent gridLayout code with its rows details will help pinpoint the invalid component.
Component at rows index 1 in a!gridLayout is not a supported layout component. Every item in the rows array must be a valid layout or UI component like a!gridRowLayout without null or invalid entries. Check row index 1 specifically for invalid or unsupported components and wrap them correctly to fix the error.Share your a!gridLayout() code(If this not help you).
I dont see any issues with the components used as dropdowns, date and text fields are supported. One suggestion is can you move the condition in
if( local!region = cons!GSE_SCL_TXT_REGIONS[4],
to the showWhen of the component list ahead depending on region match and try. Also, one typo made above is component 1 has issues which is not accurate, when I re-read my comment I caught that ;)Anyway try moving the condition from if() to showwhen for each component and check. Another option which I go for often is, comment the entire list of components and then uncomment each component 1 by 1 and catch the culprit component which gives the error and work in fixing that. So try and share if you are able to resolve it.