render() on tabid

  • 1
  • Problem
  • Updated 3 years ago
  • In Progress
  • (Edited)
I am able to update a count field in a template using this on the template unique id - 


But when I try to update the count in a tab with the tab unique id it doesn't work.  How do I pass the tabid to update the snippet?
Photo of Chris Mollan

Chris Mollan

  • 590 Points 500 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Christine Jessen

Christine Jessen, Alum

  • 690 Points 500 badge 2x thumb
Hi Chris!  

Thanks for your question.  I believe you just need to add that snippet to your tab "Whenever Shown" action so that the snippet will run every time you click on the tab.

To get to the tab actions, click on the tab itself in the composer, and go to the "Actions" property as shown below.  Then add your JS snippet with your .render() function into the action framework.

Good luck!