Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Here is the Basic template for your requirement , do the necessary changes

    {
      a!localVariables(
        local!click: false,
        local!options: {
          "Properties",
          "Versions",
          "Rename",
          "Download"
        },
        a!cardLayout(
          contents: {
            a!buttonArrayLayout(
              buttons: {
                a!buttonWidget(
                  icon: "caret-down",
                  iconPosition: "END",
                  label: "MORE",
                  saveInto: a!save(local!click,not(true)),
                  style: "OUTLINE"
                )
              },
              align: "START",
              marginBelow: "NONE"
            ),
           a!cardLayout( contents: 
             a!forEach(
              items: local!options,
              expression: a!richTextDisplayField(
                value: a!richTextItem(
                  text: fv!item,
                  link: a!dynamicLink()
                )
              )
            ))
          },
          height: "AUTO",
          style: "TRANSPARENT",
          marginBelow: "STANDARD"
        )
      )
    }
     

    and one more thing POP UP is not possible for now in appian instead use this https://appian.rocks/2023/08/14/overlapping-card-layouts/

Reply
  • 0
    Certified Senior Developer

    Here is the Basic template for your requirement , do the necessary changes

    {
      a!localVariables(
        local!click: false,
        local!options: {
          "Properties",
          "Versions",
          "Rename",
          "Download"
        },
        a!cardLayout(
          contents: {
            a!buttonArrayLayout(
              buttons: {
                a!buttonWidget(
                  icon: "caret-down",
                  iconPosition: "END",
                  label: "MORE",
                  saveInto: a!save(local!click,not(true)),
                  style: "OUTLINE"
                )
              },
              align: "START",
              marginBelow: "NONE"
            ),
           a!cardLayout( contents: 
             a!forEach(
              items: local!options,
              expression: a!richTextDisplayField(
                value: a!richTextItem(
                  text: fv!item,
                  link: a!dynamicLink()
                )
              )
            ))
          },
          height: "AUTO",
          style: "TRANSPARENT",
          marginBelow: "STANDARD"
        )
      )
    }
     

    and one more thing POP UP is not possible for now in appian instead use this https://appian.rocks/2023/08/14/overlapping-card-layouts/

Children