Custom Box Layout header and collapse


Hello everyone, Im new to Appian, Is it able to custom a box layout like this. I found that field style:"STANDARD" could be the same but I want it have to be white one. Can anyone help me?

  Discussion posts and replies are publicly visible

Parents
  • Please try the below code

    {
      a!horizontalLine(),
      a!boxLayout(
        label: "Remarks",
        labelSize: "SMALL",
        isCollapsible: true,
        style: "#ffffff",
        showBorder: false(),
        contents: a!richTextDisplayField(
          value: {
            a!richTextItem(
              text: "Remark",
              style: "STRONG"
            ),
            char(10),
            a!richTextItem(
              text: "Need to check customer claim history"
            )
          }
        )
      ),
      a!horizontalLine(),
      a!boxLayout(
        label: "Document",
        labelSize: "SMALL",
        isCollapsible: true,
        style: "#ffffff",
        showBorder: false()
        )
    }

Reply
  • Please try the below code

    {
      a!horizontalLine(),
      a!boxLayout(
        label: "Remarks",
        labelSize: "SMALL",
        isCollapsible: true,
        style: "#ffffff",
        showBorder: false(),
        contents: a!richTextDisplayField(
          value: {
            a!richTextItem(
              text: "Remark",
              style: "STRONG"
            ),
            char(10),
            a!richTextItem(
              text: "Need to check customer claim history"
            )
          }
        )
      ),
      a!horizontalLine(),
      a!boxLayout(
        label: "Document",
        labelSize: "SMALL",
        isCollapsible: true,
        style: "#ffffff",
        showBorder: false()
        )
    }

Children
No Data