What is the font style for rich texts in SAIL?

I need to find out what font is displayed on the forms in Appian using rich text fields. Does anyone know what this is?

  Discussion posts and replies are publicly visible

Parents
  • Hello, below code might be help for you.

    {
    a!richTextDisplayField(
    label: "Styles",
    value: {
    a!richTextItem(
    text: "Hello World",
    style: "PLAIN"
    )
    }
    ),
    a!richTextDisplayField(
    label: "Styles",
    value: {
    a!richTextItem(
    text: "Hello World",
    style: "EMPHASIS"
    ),
    }
    ),
    a!richTextDisplayField(
    label: "Styles",
    value: {
    a!richTextItem(
    text: "Hello World",
    style: "STRONG"
    ),
    }
    ),
    a!richTextDisplayField(
    label: "Styles",
    value: {
    a!richTextItem(
    text: "Hello World",
    style: "UNDERLINE"
    ),

    }
    ),

    a!boxLayout(
    label: "Font Styles",
    contents: {
    a!sideBySideLayout(
    items: {
    a!sideBySideItem(
    item:a!richTextDisplayField(
    label: "",
    labelPosition: "ABOVE",
    value: {
    a!richTextItem_18r1(
    text: "User Name",
    style: "SECONDARY"
    )
    }
    ),
    width: "8X"
    ),
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Password",
    style: "ACCENT"
    )
    }
    ),
    width: "8X"
    ),
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Confirm Password",
    style: "POSITIVE"
    )
    }
    ),
    width: "MINIMIZE"
    ),
    }
    ),
    a!sideBySideLayout(
    items: {
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Mobile Number",
    style: "EMPHASIS"
    )
    }
    ),
    width: "8X"
    ),
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Email",
    style: "HEADER_SMALL"
    )
    }
    ),
    width: "6X"
    ),
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Error",
    style: "NEGATIVE"
    )
    }
    ),
    width: "MINIMIZE"
    )
    }
    ),
    },
    style: "ACCENT"
    )
    }
Reply
  • Hello, below code might be help for you.

    {
    a!richTextDisplayField(
    label: "Styles",
    value: {
    a!richTextItem(
    text: "Hello World",
    style: "PLAIN"
    )
    }
    ),
    a!richTextDisplayField(
    label: "Styles",
    value: {
    a!richTextItem(
    text: "Hello World",
    style: "EMPHASIS"
    ),
    }
    ),
    a!richTextDisplayField(
    label: "Styles",
    value: {
    a!richTextItem(
    text: "Hello World",
    style: "STRONG"
    ),
    }
    ),
    a!richTextDisplayField(
    label: "Styles",
    value: {
    a!richTextItem(
    text: "Hello World",
    style: "UNDERLINE"
    ),

    }
    ),

    a!boxLayout(
    label: "Font Styles",
    contents: {
    a!sideBySideLayout(
    items: {
    a!sideBySideItem(
    item:a!richTextDisplayField(
    label: "",
    labelPosition: "ABOVE",
    value: {
    a!richTextItem_18r1(
    text: "User Name",
    style: "SECONDARY"
    )
    }
    ),
    width: "8X"
    ),
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Password",
    style: "ACCENT"
    )
    }
    ),
    width: "8X"
    ),
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Confirm Password",
    style: "POSITIVE"
    )
    }
    ),
    width: "MINIMIZE"
    ),
    }
    ),
    a!sideBySideLayout(
    items: {
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Mobile Number",
    style: "EMPHASIS"
    )
    }
    ),
    width: "8X"
    ),
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Email",
    style: "HEADER_SMALL"
    )
    }
    ),
    width: "6X"
    ),
    a!sideBySideItem(
    item: a!richTextDisplayField(
    label: "",
    labelPosition: "JUSTIFIED",
    value: {
    a!richTextItem_18r1(
    text: "Error",
    style: "NEGATIVE"
    )
    }
    ),
    width: "MINIMIZE"
    )
    }
    ),
    },
    style: "ACCENT"
    )
    }
Children
No Data