Source language: Translate to:

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

Example of a plugin in NeoAppBuilder?

Postby Palamar » Mon Jan 23, 2017 6:02 am

Hello, I would like (I do not know if it already exists) a simple example of a plugin in NeoAppBuilder. Thank you!
Palamar
 
Posts: 157
Joined: Wed Apr 06, 2005 4:34 pm

Re: Example of a plugin in NeoAppBuilder?

Postby Neosoft Support » Wed Jan 25, 2017 7:18 pm

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

Re: Example of a plugin in NeoAppBuilder?

Postby Palamar » Thu Feb 02, 2017 5:05 am

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?
Palamar
 
Posts: 157
Joined: Wed Apr 06, 2005 4:34 pm

Re: Example of a plugin in NeoAppBuilder?

Postby Neosoft Support » Sun Feb 05, 2017 11:55 am

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

Re: Example of a plugin in NeoAppBuilder?

Postby luishp » Wed Feb 08, 2017 12:50 am

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
User avatar
luishp
 
Posts: 357
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: Example of a plugin in NeoAppBuilder?

Postby Palamar » Wed Feb 08, 2017 8:20 am

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).
Palamar
 
Posts: 157
Joined: Wed Apr 06, 2005 4:34 pm

Re: Example of a plugin in NeoAppBuilder?

Postby Neosoft Support » Mon Feb 20, 2017 7:42 pm

Descriptions for actions can be added in the PluginGenerator by clicking the "Hint" tab next to the action's parameters.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron