Help Needed: Displaying Total Amount at Bottom of Data Table in ServiceNow Portal Widget

humza_abdullah
Tera Expert

Hi everyone,

 

I'm working on a ServiceNow portal widget that displays a data table from a URL definition. I need to display the total amount of the current filtered table at the bottom, but I'm not sure how to achieve this.

 

Here's what I've done so far:

  • Created a widget to fetch and display data from the URL definition.

  • Added the amounts field in the data table.

 

What I need help with:

  • Calculating the total amount of the amounts field.

  • Displaying this total amount in the footer of the table.

 

If anyone has experience with this or can provide any examples, code snippets, or point me to relevant resources, it would be greatly appreciated!

 

Thanks in advance for your help!

0 REPLIES 0