I’d like to call a function from several different components/models. I’m asking this as rhetorical question.
I’m assuming I need to create a snippet for each specific model/component in order to be able to call the main function with the id of the model I’d like to use. In other words, each snippet will only be calling my main function with the “modelid” parameter passed in.
Do I have this right?
Page 1 / 1
Yes, this is a perfectly valid way to organize your code.
I am not necessarily suggesting to do this, but If I am not mistaken, the model that is ‘calling’ the snippet would already be included in the argumentse0] parameter, so one snippet can be sufficient for all the models.
Thanks Menachem.
Found it! Sweet.
http://help.skuidify.com/m/11720/l/205082-table-component-custom-global-actions
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.