How to load a interface with record type object in Appian 19.4

Certified Senior Developer

HI , 

I wanted to display a single record of Record type object on loading of interface . For example i have Employee record object, User has to see their record on loading of screen .

can we achieve without recordLink . 

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to sugasanr0001

    hi,

    quick idea (of different possible approaches):

    Try a dynamic link with a rule.

    a!dynamicLink(
        label: "yourLinkLabel,
        saveInto:{
            a!save(
                target: local!yourVariable,
                value: rule!EXA_yourRule(id: local!yourRecordId)
            )
        }
    )

    The rule uses a code like this.

     

    cast(
        'type!yourcdt',
        a!queryEntity(
            entity: cons!EXA_EXAMPLE_DATA_STORE,
            query: a!query(
              filter:  a!queryFilter(
                  field: "id",
                  operator: "=",
                  value: ri!recordId
               ),
               pagingInfo: a!pagingInfo(1, 1)
            )
          ).data
    )


    you can save the result into a local-variable.


    then you show the data of this loaded local variable. Does it help ?

Children