Skip to main content
yasmeenn2392
New Participant
Oct 12, 2023 2:34 PM UTC
Question

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?

    3 replies

    shikhat
    Inspiring
    Oct 12, 2023 3:03 PM UTC

    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
            )
          }
        )
      ),

    yasmeenn2392
    New Participant
    Oct 12, 2023 5:17 PM UTC

    but the data from cdt not record Type

    stefanhelzle0001
    Brainy
    Oct 12, 2023 6:07 PM UTC

    Did you try to attend the Appian online trainings. Your code violates some of the basic principles covered in these trainings.