render() on tabid

edited March 2, 2017 in Questions
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?

Comments

  • edited March 2, 2017
    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.

    image

    Good luck!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!