I have list of records in list view and all are displayed properly. But when I c

Certified Senior Developer
I have list of records in list view and all are displayed properly. But when I click on one of record then it display different record in summary view. Basically in list view I printed id of those records and all are proper. And in summary view using same id I am fetching records from table and displaying it. But for one particular record it always take another record id in summary view. Why this could happen? Since id which is passed in summary view is not in our control what can be done to fix this issue. I have not hard coded any where in summary view and this issue is happening with one record only.

OriginalPostID-206616

OriginalPostID-206616

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    I think I found issue. Issue appears because the primary key that was specified in xsd is appearing same for both record where I am getting issue. Actually my datastore entity that I am referring is view. And the id that i am using to fetch record is rf!DMSTC_ID but it appears that appian internally use primary key to pull record and it returns first rf!DMSTC_ID in case of multiple id that's why this issue.
Reply
  • 0
    Certified Senior Developer
    I think I found issue. Issue appears because the primary key that was specified in xsd is appearing same for both record where I am getting issue. Actually my datastore entity that I am referring is view. And the id that i am using to fetch record is rf!DMSTC_ID but it appears that appian internally use primary key to pull record and it returns first rf!DMSTC_ID in case of multiple id that's why this issue.
Children
No Data