Skip to main content
May 1, 2022
Question

How to show integration object to user

  • May 1, 2022
  • 8 replies
  • 0 views

Hello Everyone I am new into appian. I have used an integration object which shows me different vaccination centers available near by me and type of vaccination and availability and all the other things. I want to show this result to user in proper way in interface that this are the vaccination center name and type of vaccine in a proper way. But I dont know how to show integration object in interface and how to show the result in proper way like all vaccine center name then type of vaccine in that hospital. Please help me 

    8 replies

    azharuddim218359
    May 1, 2022

    have a local variable in the interface, call the integration save the result in the variable and use these resutls in the components of your Interface.

    Refer to the link: docs.appian.com/.../Call_an_Integration.html

    gopalk2865
    Participating Frequently
    May 1, 2022

    Hi jignesht0001, Please dont intiate multiple threads for the same query.

    arockiaprincyv0003
    May 1, 2022

     Call the integration object in the interface and use the data in the grid.

    a!localvariables(

    local!data: rule!CVMS_vaccinationcenter_INT(district_id:ri!distid,date:ri!date),

    a!gridField(
              data:local!data,
              columns:{
                 a!gridColumn(
                    label:"Center Id",
                    value:fv!row.center_id
                 ),
               a!gridColumn(
                  label:"Center Name",
                  value:fv!row.name
                )

    ....................

             }

    )

    )

    May 2, 2022

    Done the same way you said but it is not showing can you please see and tell me what i need to add or change.

    Can you please see and tell me what i need to change

    arockiaprincyv0003
    May 2, 2022

    As Harshit Bumb said please refer the document and thread

    a!localvariables(

    local!data:rule!CVMS_vaccinationcenter_INT(district_id:ri!distid,date:ri!date),
    local!result:index(local!data,"result",{}),
    local!body:index(local!result,"body",{}),
    a!gridField(
    data:local!body,
    columns:{
    a!gridColumn(
    label:"Vaccination Center Name",
    value:fv!row.name
    )
    }

    )
    )

    harshitb6843
    May 2, 2022