Thank you for creating Library Actions… I am just investigating them now and they are exactly what I need for some parts of my project!
I have a complex server action with 150 lines of actions which I’d like to make into a Library Action… is there any way to convert it either in Wappler or by changing a few lines of code in the PHP…?
Oh @sid, that is really interesting… does that work? It could save me hours of time… I have quite a few existing complex server actions that could make amazing Library items!
I thought you went to far with copy-paste with all the how-tos and bug reports on Library Server Actions.
Glad to see you got it working.
One thing as George noted in other post, copying GET/POST params is not going to work. Something new for me too. I didn’t realize this, but luckily when I did this, I actually just copied the STEPS key’s JSON.
I’m finding that if you copy a standard server action to the Library folder (dmxConnect/modules/lib) and delete all of the input parameters and hit save, then it automatically gets converted to a Library Action!
Not sure if this is a feature or an accidental side effect of how things work right now but it is very useful and saves lots of fiddling around with code.