Hi, anyone has used query.runSuiteQLPaged and looped through the data using an iterator? I guess asMappedResults() cannot be used to create a javacript object. The help is a bit limited of this new function...
u
クリスピポテト
05/26/2020, 1:11 PM
Did you do it this way? PagedData.iterator() then used .each() to get Page then on the Page use Page.data then from the ResultSet perform ResultSet.asMappedResults()
👍 1
m
Mattias Uppström
05/26/2020, 2:15 PM
yes, I finally got it to work using asMappedResults() on currentPageData:
*var* currentPage = resultPage.value;
*var* currentPageData = currentPage.data;
Mattias Uppström
05/26/2020, 2:19 PM
thank you once again @クリスピポテト, really appreciate your help