Getting Issue In Inline Edit with Pagination(ADP variable)
Summary:
Getting Issue In Inline Edit with Pagination(ADP variable)
Content (please ensure you mask any confidential information):
Hi Expert,
We need to implement pagination for a table whose data is populated by ADP. We have implemented by referring to the article below, and
Below is the action chain code for the same
if ($variables.snapshotvalue.value !== 'undefined' && $variables.snapshotvalue.value !== '') {
const response = await Actions.callRest(context, {
endpoint: 'ics/getQr_scanassetReport',
uriParams: {
batchnumber: $variables.snapshotvalue.value,
limit: '1000',
location: $variables.location.value,
},
});
if (response.ok) {
const filterReportData = await $functions.filterReportData(response.body.items);
// Reset Varibale
await Actions.resetVariables(context, {
variables: [
'$variables.as_countedADP',
'$variables.as_sightedADP',
'$variables.notCountedList',
'$variables.actionedAssetsADP',
0