Skip to main content
New Participant
Nov 29, 2024 7:26 AM UTC
Question

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?

    3 replies

    stefanhelzle0001
    Brainy
    Nov 29, 2024 7:45 AM UTC

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

    prasantap0900
    Participating Frequently
    Nov 29, 2024 8:34 AM UTC

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

    somasundaram.d
    Employee
    Nov 29, 2024 8:37 AM UTC

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