Quantcast
Channel: DreamFactory Forum - Latest posts
Browsing all 5027 articles
Browse latest View live
↧

Scripting multiple parameter sets to a Stored Procedure

The SP creates new databases, I'm passing parameters for naming and max number of sessions. I can pass a single parameter set to it and create a single database via DSP REST API. I'm trying to...

View Article


Disable email confirmation

Thanks @mattschaer, So, to disable email confirmation, I need to leave blank the "Open Reg Email Service" option in user service. It works.

View Article


How to create users while registering with different roles via API?

There is something strange about the user.register.post.post_process. Even putting something simple like: event.response.content.foo = 'bar'; foo does not return to the request. Making a var_dump...

View Article

Scripting multiple parameter sets to a Stored Procedure

Not sure if you understand, but since you're using procedures to create the databases, it would suffice to Noa lodash._.each() to iterate on the parameters by calling the procedure for database API?

View Article

Acces-control-Allow-Origin

I have added the following configuration to my httpd.conf file in apache and it is working now. Header always set Access-Control-Allow-Origin "*"Header always set Access-Control-Max-Age "1000"Header...

View Article


How to create users while registering with different roles via API?

Sure thanks. BTW My dreamfactory version is 2.0.4

View Article

Changes in response doesn't stick

Hi Drew, I repeated the upgrade procedure following the instructions from the wiki and the result is the same. Here you have the full output of the upgrade process. I can't see anything that could...

View Article

Lookup Key Value in database

Does there happen to be a PHP iteration of this code? I'm trying to work with this V8JS example, but Ubuntu (linux) is giving me a hard time with the 'module "lodash" cannot be found' error.

View Article


Image may be NSFW.
Clik here to view.

How to create users while registering with different roles via API?

Apparently it's a bug and is already registered: github.com/dreamfactorysoftware/dreamfactory Issue: In post_process custom script the "event.response.content" is broken after updating from DF 2.0.4...

View Article


Complex SQL query

Hi @garreeoke, I suggest you do a stored procedure. http://wiki.dreamfactory.com/DreamFactory/Tutorials/Querying_stored_procedures best regards,

View Article

Joomla Users Table

I not made with any of the two, but did something like that, and in my case, the best option was to create event scripts in the user's route to synchronize DreamFactory user data to my Ruby on Rails...

View Article

Web service with custom Sql request

Wondering if this was ever solved? I have the same issue. I can used the stored procedure, but in my case (as well as this authors) the lat/long needs to be passed in to the stored procedure. Can we...

View Article

Web service with custom Sql request

Nevermind, seems you can put parameters on the stored proc call. Awesome!

View Article


How to create users while registering with different roles via API?

I am not sure about changes to event.response not sticking. I was able to set event.response.resp_check = true; statement and when I return the event.response resp_check was there intact in the...

View Article

Preprocess GET Filter values

Hello, I am creating a simple script to grab records from a database using a filter parameter n. I would like to find out how to pre-process a GET filter parameter value such that if n=ABC, the actual...

View Article


AWS SNS Not Working in 2.0

Hi @drewpearce, Where you able to check why this is not working? J

View Article

Preprocess GET Filter values

Hi, take a look at this: http://wiki.dreamfactory.com/DreamFactory/Tutorials/V8_custom_scripting_service Maybe the event.request.parameters; have the filter value.

View Article


Image may be NSFW.
Clik here to view.

Server-side script editors

Hi, There is a line number limit in server side scripting? (DF 2.1) After the the 99th line of command (comments dont count), an alert icon pops up. If the line is commented, the error go to the next...

View Article

Complex SQL query

Hi , Were you able to achieve this . I require exactly the same thing done i.e. get all nearby locations from a table storing the lattitudes and longitudes , based on input lattitude and longitude. In...

View Article

Adding record to db problem

Hi @rtnieuwboer, A workaround is use pre-process script to modify the post payload, adding the missing "resource". Maybe this post will help you:...

View Article
Browsing all 5027 articles
Browse latest View live