Forum Discussion
Hi PerBonomi
thanks for sharing your code, very appreciated!
I wonder, are you running this on the board page? I was thinking that it could be quite a few rest calls even though you have put some conditions. You could use the Activity Freemarker object so that this logic is only run immediately after the user has signed in for example.
You could also create a function so that you don't repeat the code for each board you add. Just throwing some ideas out there, I am sure others will be able to chime in as well with suggestions.
Cheers,
- PerBonomi10 years agoBoss
PaoloT wrote:Hi @PerBonomi
thanks for sharing your code, very appreciated!
I wonder, are you running this on the board page? I was thinking that it could be quite a few rest calls even though you have put some conditions. You could use the Activity Freemarker object so that this logic is only run immediately after the user has signed in for example.
You could also create a function so that you don't repeat the code for each board you add. Just throwing some ideas out there, I am sure others will be able to chime in as well with suggestions.
Cheers,
Thanks Paolo. I wasn't aware of the acitivy option; definitely worth incorporating that.
I looked into using a function, for that reason, but then I'd end up using a kind of "hack" to create on the fly variables. According to the Freemarker documentation that isn't so good. But, if there's a cleaner way I'm all ears :)
Related Content
- 9 months ago
- 9 months ago
- 9 months ago
- 7 months ago