Hi,
I am working on the Mobile Pocket Library App and I am trying to modify the Book_Summary Interface. I get the following error when I add the ShowBookDetails rule with my record rule input as its book parameter.
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!cardLayout [line 12]: A card layout has an invalid value for "contents". The contents contain a component that is not supported in the card layout. Received: FormLayout
I use the following expression just as the Appian tutorial specifies:
rule!ISBN_ShowBookDetails(
book: ri!record
)
Any assistance with fixing this issue would be extremely appreciated.
Thanks so much!
Discussion posts and replies are publicly visible
Hi Tahesha,It seems You are trying to add a form layout as content to the Card Layout something like the below,
Is your rule!ISBN_ShowBookDetails returning Form Layout and are you trying to call this interface from CardLayout contents?
in that case, You have to think about picking a proper interface container to call the rule.Thanks
Hi Karthik,
Thank you for your response! Yes, I am trying to add a card layout in a column layout. That is the exact error I get. I am adding a screenshot of the interface, code, and error message. I hope the issue I'm having is clearer with this added information. I am still not sure how to fix the error as I am very new to Appian developing and trying to learn by duplicating the Mobile Pocket Library App.