Hi,
I’m wondering if Is it possible to add skuid actions to a JS snippet?
At the end of my snippet, I have it re-querying 34 different models, and as expected it’s a bit slow.
The problem is that , my users are used everywhere for me to block UI until all models are finished re-querying.
Can I add those 2 actions in between my requerying line on snippet itself?
Example:
1) Block UI command
2)// query models with conditions setskuid.model.updateData([myModel1,myModel2,myModel3,myModel4,myModel5,myModel6,myModel7,myModel8,myModel9,myModel10,myModel11,myModel12,myModel13,myModel14,myModel15,myModel16,myModel17,myModel18,myModel19,myModel20,myModel21,myModel22,myModel23,myModel24,myModel25,myModel26,myModel27,myModel28,myModel29,myModel30,myModel31,myModel32,myModel33,myModel34],function(){
console.log(‘update data complete!’);
3)Unblock UI command
Hope it’s clear
Thank you
Question
Is it possible to add skuid actions to a JS snippet?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.