Creating reusable interface components
In Appian, an interface is basically like any other expression, with the added benefit of the design mode in the interface designer. This also means that you can create your own reusable interfaces tailored to a specific need. Let's have a look at the interfaces we built and try to identify candidates for building an interface component.
This happens next
Create a new interface with the name IVP_C_ThisHappensNext
. The letter C indicates that the purpose of this interface is for it to be used as a component inside other larger interfaces.
Add a rule input named text
of the text
type. Enter the following code snippet:
a!sectionLayout( label: "This Happens Next", labelIcon: "route", contents: { a!richTextDisplayField( labelPosition: "COLLAPSED", value: ri!text ...