open new interface

When I click on the link in row in read only gird, I want to open the summary interface
but the code does not work, what is the problem?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hi,

    You need to use record link inside your linkfield function in the record. Attached sample code , summary view should be configured under views tab in records.

    a!gridColumn(
        label: "Name",
        sortField: 'recordType!testrecord.field',
        value: a!linkField(
          links: {
            a!recordLink(
              label: fv!row[recordtype!field],
              recordType: 'recordType!testrecord',
              identifier: fv!identifier
            )
          }
        )
      ),

Reply
  • 0
    Certified Senior Developer

    Hi,

    You need to use record link inside your linkfield function in the record. Attached sample code , summary view should be configured under views tab in records.

    a!gridColumn(
        label: "Name",
        sortField: 'recordType!testrecord.field',
        value: a!linkField(
          links: {
            a!recordLink(
              label: fv!row[recordtype!field],
              recordType: 'recordType!testrecord',
              identifier: fv!identifier
            )
          }
        )
      ),

Children