Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!

Pagination of web forms in adobe campaign


Level 2

Hi Team,

As per my requirement ,we will be fetching the huge records from the schema so that we have to split as 100 to 200 records in each page.

So how to implement the pagination in web forms...please suggest me any solution on this.


Jitendra Thota

2 Replies


Level 2

Hi pradyumn,

Actually we are fetching the records from schema by using query (we are not using any service URL ) so that we have to do pagination 100 to 200 records for each page based on records fetched from schema.

Please find the the below screenshots for reference.




Code in cac list form:

<P><FONT face=Calibri>


<P></FONT> </P>


   var i = 0;

  var test = "";

  var temp="target='_blank'";

var table = "<table id='grid'>";

table += "<thead><tr><td>Status</td><td>Name</td><td>Campaign</td><td>MobileNo</td><td>CampaignStatus</td></tr></thead>";

  table += "<tbody>";

  for (var i=0; i < ctx.query.campaignCustomerDetailsList.length();  i++)


if(ctx.query.campaignCustomerDetailsList[i].@operatorGroup == ctx.vars.og_Token)


if (ctx.query.campaignCustomerDetailsList[i].@status == "Completed")







   table += "<tr><td>" + ctx.query.campaignCustomerDetailsList[i].@status+ "</td><td>" + ctx.query.campaignCustomerDetailsList[i].@name + "</td><td>" + ctx.query.campaignCustomerDetailsList[i].@campaign + "</td><td>" + ctx.query.campaignCustomerDetailsList[i].@mobileno + "</td><td>"+"<a "+ test + temp + "href="+ctx.query.campaignCustomerDetailsList[i].@clientID+"&clientId="+ctx.query.campaignCustomerDetailsList[i].@clientID+"&lang=>"+"start"+" </a>"+"</td></tr>";



  table += "</tbody>"

  table += "</table>"

%>  &lt;%== table %&gt;</FONT><?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p> <PRE></PRE>


Form preview: