Does any one aware of sort ??

Certified Associate Developer

Hi,

BELOW Is SORT where we used 

a!save(local!a,

index(sort(somevalue)),1,Null)

Now after upgrading im getting error in interface invalid function {"SORT"}

WHAT is the replacement of SORT NOW

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

      

    Actually we can use a!sortinfo function only be referenced by the PagingInfo and DataSubset types so if you want the use the sorted data, query the data and sort by your specified value and save in local variable (eg: local!sortData) then use your local variable as below
     
    a!save(local!a,
    index(local!sortData,1,null))

Reply
  • 0
    Certified Associate Developer

      

    Actually we can use a!sortinfo function only be referenced by the PagingInfo and DataSubset types so if you want the use the sorted data, query the data and sort by your specified value and save in local variable (eg: local!sortData) then use your local variable as below
     
    a!save(local!a,
    index(local!sortData,1,null))

Children
No Data