render() on tabid

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

skuid.$C('sk-1xt3wk-1107').render();

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

  • 570 Points 500 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Christine Jessen

Christine Jessen

  • 670 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!
(Edited)