Record Summary

Hi Everyone,

I am opening an interface 2 from interface 1 through record summary on click of link in interface 1. I need to have a cross icon in interface 2 upon clicking it, will open the first interface again. Can anyone please help me.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Adding  One more way for navigating between two interfaces is using BreadCrumbs

    {
      a!localVariables(
        local!currentNodeId: 4,
        /* This variable would normally be retrieved with a rule like rule!getBreadcrumbsForIdentifier(identifier: local!currentNodeId). */
        local!nodes: a!forEach(
          items: enumerate(local!currentNodeId)+1,
          expression: choose(
            fv!item,
            a!map(name: "Home", identifier: 1),
            a!map(name: "My Documents", identifier: 2),
            a!map(name: "Strategy", identifier: 3),
            a!map(name: "2018 Road Map", identifier: 4)
          )
        ),
        {
          a!richTextDisplayField(
            labelPosition: "COLLAPSED",
            value: {
              a!forEach(
                items: local!nodes,
                expression: if(
                  fv!isLast,
                  a!richTextItem(
                    text: fv!item.name,
                    style: "STRONG"
                  ),
                  {
                    a!richTextItem(
                      text: fv!item.name,
                      /* The saveInto in this link would run the query or rule necessary to navigate the user to *
                       * the node in the breadcrumbs that they just clicked on.                                  */
                      link: a!dynamicLink(value: fv!item.identifier, saveInto: local!currentNodeId),
                      linkStyle: "STANDALONE"
                    ),
                    a!richTextItem(
                      text: "  /  ",
                      color: "SECONDARY"
                    )
                  }
                )
              )
            }
          )
        }
      )
    }

Reply
  • 0
    Certified Senior Developer

    Adding  One more way for navigating between two interfaces is using BreadCrumbs

    {
      a!localVariables(
        local!currentNodeId: 4,
        /* This variable would normally be retrieved with a rule like rule!getBreadcrumbsForIdentifier(identifier: local!currentNodeId). */
        local!nodes: a!forEach(
          items: enumerate(local!currentNodeId)+1,
          expression: choose(
            fv!item,
            a!map(name: "Home", identifier: 1),
            a!map(name: "My Documents", identifier: 2),
            a!map(name: "Strategy", identifier: 3),
            a!map(name: "2018 Road Map", identifier: 4)
          )
        ),
        {
          a!richTextDisplayField(
            labelPosition: "COLLAPSED",
            value: {
              a!forEach(
                items: local!nodes,
                expression: if(
                  fv!isLast,
                  a!richTextItem(
                    text: fv!item.name,
                    style: "STRONG"
                  ),
                  {
                    a!richTextItem(
                      text: fv!item.name,
                      /* The saveInto in this link would run the query or rule necessary to navigate the user to *
                       * the node in the breadcrumbs that they just clicked on.                                  */
                      link: a!dynamicLink(value: fv!item.identifier, saveInto: local!currentNodeId),
                      linkStyle: "STANDALONE"
                    ),
                    a!richTextItem(
                      text: "  /  ",
                      color: "SECONDARY"
                    )
                  }
                )
              )
            }
          )
        }
      )
    }

Children
No Data