Hello,
I am trying to build a paging grid based on a data store entity. So far I have been successful in populating the grid and everything is working as expected. A new requirement was made and now the reqeust name (which is the first column of the grid) should be a link to the record it correspond to (i.e. I click on the request name and I should navigate to the summary view of that record). I've tried a few different approached but haven't been able to get a working solution. Any help will be appreciated. Thanks in advance.
Approach #1:
(Only creates a link in the first item in the grid and when clicked navigates to records but errors out "An Error Has Occurred An error was encountered while processing your request. ")
a!gridTextColumn( label: "Name", field: "contributionRequestName", data: index( local!datasubset.data, "contributionRequestName", null ), links: a!recordLink( label: index( local!datasubset.data, "contributionRequestName", null ), recordType: cons!SCP_CONTRIBUTION_REQUEST_RECORD_TYPE, identifier: index( local!datasubset.data, "contributionRequestName", null ) ) )
Approach #2:
(Only creates a link in the first item in the grid and when clicked navigates to records but errors out "An Error Has Occurred The record data does not exist, has been deleted, or you do not have sufficient privileges to access it.")
a!gridTextColumn( label: "Name", field: "contributionRequestName", data: index( local!datasubset.data, "contributionRequestName", null ), links: a!recordLink( label: index( local!datasubset.data, "contributionRequestName", null ), recordType: cons!SCP_CONTRIBUTION_REQUEST_RECORD_TYPE, identifier:local!datasubset.data.id ) )
Discussion posts and replies are publicly visible
Hi, I am also getting the same error and in my case i have to use record type which created from view and my primary key is different than which i am trying to use as link . Is there any solution for that?
this is a very old thread - the entire main paging grid component switched over to a revamped one in Appian 19.2 (a whole year after this post was originally created, i'll add) - so it'd probably be better to ask this question (and provide details) either on a more recent post or in your own new post if searching doesn't reveal anything close.