jsonLogic

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

jsonLogic

Postby andre1506345542 » Thu Aug 16, 2018 10:34 am

Hi

We would like to use the library jsonLogic (http://jsonlogic.com/). But we cannot figure out to import this into our solution.

I have added the logic.js to our solution but then we cannot call the required functions. I have tried to recode it to a class, but this seems to be a real hassle.

Does anyone has an idea?

Help is appreciated.
Andre
andre1506345542
 
Posts: 42
Joined: Mon Sep 25, 2017 3:19 pm

Re: jsonLogic

Postby jasantana » Mon Aug 20, 2018 10:00 am

Hi Andre good morning. We’ve implemented it through a service component. It will show as a plugin within Servoy Developer
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
Servoy MVP 2015
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: jsonLogic

Postby rvanderburg » Mon Aug 20, 2018 3:29 pm

Andre,

Can you explain why you need this? Why not just write your logic in javascript?
rvanderburg
Site Admin
 
Posts: 78
Joined: Wed May 04, 2011 10:28 am

Re: jsonLogic

Postby andre1506345542 » Mon Aug 20, 2018 4:04 pm

Thanks Juan, I will have a look into it.
@ron, as we need the user to make the logic and not the developer.

Brgds
Andre
andre1506345542
 
Posts: 42
Joined: Mon Sep 25, 2017 3:19 pm

Re: jsonLogic

Postby rafig » Mon Aug 20, 2018 4:44 pm

jasantana wrote:Hi Andre good morning. We’ve implemented it through a service component. It will show as a plugin within Servoy Developer

Hi Juan,
will you be making that available to all like your Colour Picker? :D
Thanks

Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 704
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 8 guests

cron