Happy Business Starts Here

Zuora Support

Table sort in Quote Template

Problem - If you are looking to sort the table added to your Quote template on the basis of one column. 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 REPLY 1
Zuora Support

Re: Table sort in Quote Template

Solution - In this specific case, customer wanted to sort the data in the table for the Quote Rate Plan Charge as per ChargeType. 

Please find below one of the document which has details about the sorting. 
Table Sort

 

I did implement the sort at my end too and it worked great. Please find below the snapshot of the mergefield which has table sort added to it. You can add this piece of mergefield anywhere in the table between table start and end and make sure to add the quotation marks too. 

Screen Shot 2019-02-19 at 1.55.05 PM.png

Steps to add the TableSort are as below:

  1. Create the Quote Template.
  2. Go to any of the columns in the table and add the mergefield for ChargeType. 
  3. Add the text "TableSort:" just before the Object Name as shown in the snapshot above. 
  4. Add "ASC" or "DESC" after the field name as per your requirement. 
  5. Add quotation marks before the TableSort: and after the ASC/DESC as shown in the snapshot above.





If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √