Custom Component action framework

I have a custom component that dynamically creates its own model. I'd like to be able to add model actions to that dynamic model through my component's properties in the ui.
Any thoughts on the best way to go about this?
Any thoughts on the best way to go about this?
3
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
Hope this helps!
Does what mB Andréas work put together for your situation? If not, let us know!
Thanks!
Karen
That's what I'm intending to do conceptually. I was looking for sample builder (and runtime?) code to make the action framework work with my custom component. Does that exist somewhere?
I can only suggest you do the same, both the runtime.js and builders.js have good info. You can also look at some of Barry's stuff and see how he's doing it.
We're not necessarily at liberty (yet?) to release the source for making that functionality happen though. This is not an official skuid api, generally undocumented and may be subject to change in the future so YMMV
If you can get a hold of my skype (through Pat perhaps), I'd be glad to point you in the right direction.
That means, in the Builder.js push this property to your properties: To run all the Actions specified in the Action Framework in the Runtime.js use this code. Maybe there are way more properties you could set or write cleaner code, but since it's not documented this was all I could find out by analyzing the Skuid Code.
It worked for me when I wrote a custom file upload component.
For example, when doing model.loadAllRemainingRecords I only want to perform the after query model actions in the finishCallback.
So combining branch logic and snippets, I only have the after model query actions run when loadAllRemainingRecords isn't processing.
Noe I can either implement runActionsNode in the finishCallback [ :-) ] or duplicate the logic inside the snippet and maintain both [ :-( ].
How would I go about calling runActionsNode on a model given its action node (accessible through