Skip to main content
November 29, 2024
Question

Custom Box Layout header and collapse

  • November 29, 2024
  • 3 replies
  • 0 views


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?

    3 replies

    stefanhelzle0001
    November 29, 2024

    Did you try to just set the Style to the white?

    prasantap0900
    November 29, 2024

    Please check the color of box layout in the style section. 

    somasundaram.d
    November 29, 2024

    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()
        )
    }