Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
10 subscribers
Views
3012 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I have list of records in list view and all are displayed properly. But when I c
umeshkumarn0148
Certified Lead Developer
over 9 years ago
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
0
PhilB
A Score Level 1
over 9 years ago
Is this an entity, service or process backed record? What version of Appian are you on?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
umeshkumarn0148
Certified Lead Developer
over 9 years ago
I am using entity backed record. And its 7.10 version
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jaggu
over 9 years ago
It seems like record identifier is not passing properly. to the record link. Please print identifier on the screen and verify it could help.
Another question is Record and Report are build on same entity?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
As above, if you can post the interface expression that's used on the record for the summary view, maybe someone will spot an issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
umeshkumarn0148
Certified Lead Developer
over 9 years ago
in summary view I have used rf!DMSTC_ID to fetch record and in list view i printed same rf!DMSTC_iD but in summary view it took rf!DMSTC_ID of different record. I just took text field in summary view but rf!DMSTC_ID in list view is different and in summary view rf!DMSTC_iD is different for the record where I am facing issue
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
umeshkumarn0148
Certified Lead Developer
over 9 years ago
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.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jaggu
over 9 years ago
Good that you found the issue. Why can't you make rf!DMSTC_ID as primary key for your view.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
umeshkumarn0148
Certified Lead Developer
over 9 years ago
Yeah that's what my plan of action is. Thank you both of you for your quick response.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel