I have a Template Repeater I am using to show some templates. Each template has a button that can be pressed to change the order of the templates in the repeater.
Right now the changes are saved to the database, but the only way I can get the template repeater to reflect the changes is to close/open the template window, or to click a button on the same page as the Template Repeater to manually refresh it.
Here is the script I am using. Pretty simple.
TemplateRepeater = event.source.parent.getComponent('Template Repeater') system.db.refresh (TemplateRepeater, "templateParams")
- Is there a way I can run this script from a template inside of the repeater?
- I’m sort of assuming there is not. Could I put a custom property on the Template Repeater that would refresh it’self if a certain value changed on one of the templates?
- Any other options?
Thanks for the help.