Page 1 of 1
Example of a plugin in NeoAppBuilder?
Posted: Mon Jan 23, 2017 6:02 am
by Palamar
Hello, I would like (I do not know if it already exists) a simple example of a plugin in NeoAppBuilder. Thank you!
Re: Example of a plugin in NeoAppBuilder?
Posted: Wed Jan 25, 2017 7:18 pm
by Neosoft Support
There's one called "DateTime" included with the NeoAppBuilder installation. You should be able to open it in the PlugIn Generator and see how it's constructed.
Re: Example of a plugin in NeoAppBuilder?
Posted: Thu Feb 02, 2017 5:05 am
by Palamar
Hello; First thanks for the data, I had not seen it. I still do not understand how to send or receive data, variables, etc. Maybe there is some more example plugin, or a little more extensive help about creating plugins for NAB?
Re: Example of a plugin in NeoAppBuilder?
Posted: Sun Feb 05, 2017 11:55 am
by Neosoft Support
Creating a plugin requires some knowledge of JavaScript. Most functions will have a single "result" variable that is returned to NeoAppBuilder. That's the primary method for passing data from a plugin back to an app.
Re: Example of a plugin in NeoAppBuilder?
Posted: Wed Feb 08, 2017 12:50 am
by luishp
Take a look at my "Power App" plugin.
It includes full source code and a lot of different functions.
Regards.
Re: Example of a plugin in NeoAppBuilder?
Posted: Wed Feb 08, 2017 8:20 am
by Palamar
Thanks Luishp and Dave, I found it very useful, in fact I am building a small plugin to start using the PluginGenerator. Small question ... Where do I put the descriptions of the actions (the ones that come out when you mouse over)? .... I could not find them ....
Example:
dtDayNum
Returns the current day of the month as a number (1-31).
Re: Example of a plugin in NeoAppBuilder?
Posted: Mon Feb 20, 2017 7:42 pm
by Neosoft Support
Descriptions for actions can be added in the PluginGenerator by clicking the "Hint" tab next to the action's parameters.