Question on SAIL form duplicating records on different pages

Sail Grid Issue.

Hi All,

On the sail form, when I am fetching 25 records at page 1, If I have more than those records, we go on for 2nd page but mu code is loading the same first 25 records. Can any one look into the code pasted below & guide me over the issue?

if(
isnull(local!selectedFileId),
{},
with(


local!linkForDownloadDocs:
getdatasubsetdownloadlinkfromrule(
rule!PDIM_datasubset_searchDocsForFileByPAID,
a!toJson({
paID: local!selectedFileId

})
),


local!selectedFiles:
rule!PDIM_searchDocsForFileByPAID(local!selectedFileId),

if(local!selectedFiles.totalCount<1,

a!textField(
label:"Currently there are no documents part of this file",
readOnly:true

),

{
...

OriginalPostID-200880

OriginalPostID-200880

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data