breadcrumb pattern

In this I have a button called legal situation and when I will click the button it will take look like as below.

but the thing is that see in the breadcrumb pattern one middle thing is coming which I do not need .when i will click the legal situation button the bread crumb pattern should be personal details /legal situation .

And when i click back button it should take me to the page where i got navigated from ,dynamically .
please someone help me in this !

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hi ,
    you can take a reference from this code. let me know if I need to explain it further

    .

    a!localVariables(
      local!selectedIds:1,
      local!data:if(
        local!selectedIds=3,
        {
          a!map(
            id:1,
            name:"Personal Details"
          ),
          a!map(
            id:3,
            name:"ligal Situations"
          )
        },
        {
        a!map(
          id:1,
          name:"Personal Details"
        ),
        a!map(
          id:2,
          name:"Development"
        ),
        a!map(
          id:3,
          name:"ligal Situations"
        )
      }
      ),
      {
      a!sideBySideLayout(
        items: a!forEach(
          items: local!data,
          expression: a!sideBySideItem(
            width: "MINIMIZE",
            item: a!richTextDisplayField(
              value: {
                a!richTextItem(
                  text: fv!item.name,
                  link: a!dynamicLink(
                    value: fv!item.id,
                    saveInto: local!selectedIds
                  ),
                  linkStyle: "STANDALONE"
                ),
                a!richTextItem(
                  text: if(
                    fv!isLast,
                    "",
                    " /"
                    )
                )
              }
            )
          )
        )
      )
      }
    )

Reply
  • 0
    Certified Senior Developer

    Hi ,
    you can take a reference from this code. let me know if I need to explain it further

    .

    a!localVariables(
      local!selectedIds:1,
      local!data:if(
        local!selectedIds=3,
        {
          a!map(
            id:1,
            name:"Personal Details"
          ),
          a!map(
            id:3,
            name:"ligal Situations"
          )
        },
        {
        a!map(
          id:1,
          name:"Personal Details"
        ),
        a!map(
          id:2,
          name:"Development"
        ),
        a!map(
          id:3,
          name:"ligal Situations"
        )
      }
      ),
      {
      a!sideBySideLayout(
        items: a!forEach(
          items: local!data,
          expression: a!sideBySideItem(
            width: "MINIMIZE",
            item: a!richTextDisplayField(
              value: {
                a!richTextItem(
                  text: fv!item.name,
                  link: a!dynamicLink(
                    value: fv!item.id,
                    saveInto: local!selectedIds
                  ),
                  linkStyle: "STANDALONE"
                ),
                a!richTextItem(
                  text: if(
                    fv!isLast,
                    "",
                    " /"
                    )
                )
              }
            )
          )
        )
      )
      }
    )

Children