Hi,
I am using Community Edition and following the Appian Developer path. In for Step-By-Step # 10 I am getting expression error while adding the reusable component on a interface/form.
I followed all the steps till this section and all works good. As per Step by Step #10, Guide I am trying to complete the following steps.
as soon as I click ok, above expression error message displayed.
Any suggestions to fix this ?
Discussion posts and replies are publicly visible
As is implied by the error message, a Form Layout component cannot be nested under any other component. It seems like your "Vehicle Details View" interface has a FormLayout in it, yet you're trying to add it to a column.
Thanks Mike for quick reply.
Yes I got that point (as mentioned in subject that its form layout vs Column (not supporting). However, since the reusable 'Vehicle Details VIew' interface was created as per the instructions from the previous step by Step exercise and in this Step by Step10, following the same template as suggest in the guide. Now struggling on how to fix it ? Do I select a different form template OR do I got back to reusable component/ (i.e. "Vehicle Details View" interface to change it to change ---still learning if I can do that but assuming that could be a option)
Can you check and share the code you have in the vehicle details interface. If its a reusable interface it should not have the formLayout() in it
Yeah, your "reusable interface" would either need to not contain an *a!formLayout()* component, or it would need to be the top-level component in any parent interface you utilize it in. Unfortunately the screenshots you've provided here don't really clarify as to what the issue most likely is (though i'm betting it's the first one).