Hi,
I am getting the following error "Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!sectionLayout [line 4]: The contents field on a column layout cannot contain a form layout. Received a form layout at index 1." when trying to complete the instructions on page 4 of Build an application step 10 of the process modeling 101 course.
See expression below.
a!formLayout( label: "New Maintenance Request", contents: { a!sectionLayout( label: "Vehicle Details", contents: {rule!AX_VehicleDetailsView(ri!vehicle) } ), a!sectionLayout( label: "Section", contents: {} ) }, buttons: a!buttonLayout( primaryButtons: { a!buttonWidget( label: "Submit", submit: true, style: "SOLID" ) }, secondaryButtons: { a!buttonWidget( label: "Cancel", value: true, saveInto: ri!cancel, submit: true, style: "OUTLINE", validate: false ) } ))
Discussion posts and replies are publicly visible
The code pasted doesn't raise any error
Could you post here the full interface please?
This is the screen shot of the error message.
Make a test, comment the rule!AX_VehicleDetailsView....
I am new to appian so not sure I understand your answer.
I commented the rule like below.
And did the test from the tutorial.
I seem to have figured it out i changed the interface AX_VehicleDetailsView....from a form to a section.