Example of a plugin in NeoAppBuilder?

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Locked
Palamar
Posts: 161
Joined: Wed Apr 06, 2005 4:34 pm

Example of a plugin in NeoAppBuilder?

Post by Palamar »

Hello, I would like (I do not know if it already exists) a simple example of a plugin in NeoAppBuilder. Thank you!
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Example of a plugin in NeoAppBuilder?

Post 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.
NeoSoft Support
Palamar
Posts: 161
Joined: Wed Apr 06, 2005 4:34 pm

Re: Example of a plugin in NeoAppBuilder?

Post 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?
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Example of a plugin in NeoAppBuilder?

Post 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.
NeoSoft Support
User avatar
luishp
Posts: 410
Joined: Wed May 23, 2007 10:17 am
Location: Spain
Contact:

Re: Example of a plugin in NeoAppBuilder?

Post by luishp »

Take a look at my "Power App" plugin.
It includes full source code and a lot of different functions.
Regards.
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
Palamar
Posts: 161
Joined: Wed Apr 06, 2005 4:34 pm

Re: Example of a plugin in NeoAppBuilder?

Post 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).
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Example of a plugin in NeoAppBuilder?

Post by Neosoft Support »

Descriptions for actions can be added in the PluginGenerator by clicking the "Hint" tab next to the action's parameters.
NeoSoft Support
Locked