How to save data identifier into a local variable in a readonly grid?

Certified Associate Developer

Hi everyone, I'm facing issue while saving unique identifier value into a local variable. By default indexes are getting saved but I want to save the identifier value so that even if custom filters are applied only the actual selected value is checked/selected in the grid.

The working approach I came up till now is to convert my data into a datasubset using a!dataSubset and then use todatasubset with fv!pagingInfo from the grid. The issue which I found with this is todatasubset function is not able to over ride the paging configured by a!dataSubset, it could very well be an Appian issue not sure but due to this I'm getting full grid data in the screen. (Screenshot attached for this below)




If you know any workaround for this or any approach you implemented for this use case please share!

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to Mike Schmitt

    Data is from an external system so we can assume it to be a list of map. It is a multi selectable grid with custom filters.

    I converted it to a datasubset and provided it with an identifier. It works but now the paging is messed up for me since todatasubet is not able to over ride the initial paging. Also, if I try to play around directly with a!datasubset paging then it gives me again an error stating that batch size should be same like number of elements in the list.

Children
No Data