Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

linking with interface

Certified Senior Developer

in interface read only grid i just want one city name and area name what configuration i need to do

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Senior Developer
    in reply to deepakg681722

    I want state and area name from integration object which is at index 1. So in interface i have used read 

    only grid in that i use coloum and in display value i have done fv!row.name so it is give me all name i just want- 

    first name which is at index one how can i do this plz help me 

  • 0
    Certified Lead Developer
    in reply to lokeshp047058

    a!localVariables(
      local!result: index(
        a!flatten(
          index(
            a!fromJson(
              index(
                index(
                  rule!INT_currencyConverter(110001),
                  "result",
                  {}
                ),
                "body",
                {}
              )
            ),
            "PostOffice",
            {}
          )
        ),
        1,
        {}
      ),
      a!gridField(
        data: local!result,
        columns: {
          a!gridColumn(label: "Name", value: fv!row.State),
          a!gridColumn(label: "Area", value: fv!row.Name)
        }
      )
    )

    Let me rephrase your question.

    You are getting multiple result from the integration for example 5 rows. Now, you want to show only 1 rows which is at index 1 into the grid instead of all the 5 rows. Correct? if yes, then into the data configuration on your gridField use index(local!result, 1, {}).