Create an user session (login)
Thanks, Im aware about pre/post-processing scripts. Yes, i want to change (or create a "slang") for the url /user/session and send login information to this new address.
View ArticleUpdate field using PreProcess scripts
I want to modify a field in a preprocess script but it is not working. The script is if (event.request.payload.resource) { lodash._.each (event.request.payload.resource, function( record ) {...
View ArticleDreamFactory incompatibility with Google Chrome
I have installed Bitnami DreamFactory 2.0.4.0 but I had compatibility issues with Google Chrome. I was able to run it correctly with Firefox and Microsoft Edge.In Google Chrome there is many issues...
View ArticleDreamFactory incompatibility with Google Chrome
@raafat.zarka this is unusual behavior. Did you try restarting DreamFactory and flushing the system-cache? When you experienced this had you just started DreamFactory? The config page not visualizing...
View ArticleVirtual Primary and Foreign keys?
@rajivperera Here is the wiki link for the documentation. Easiest way, is to go the "Schema" tab on the Admin application of your instance, create a new field for the desired table, select "virtual"...
View ArticleHow to authenticate with v8js script?
Hi, How authenticate an dreamfactory user using a server-side script? Its possible?
View ArticleCan scripts such as jquery be placed in the files part of DF?
Anyone..I can´t add scripts to the storage/scripting folder using SSH because I do not have the permissions and I am not sure if the above alternative works. In fact we tested it and it does not. What...
View ArticleCan scripts such as jquery be placed in the files part of DF?
Charlie, I'm checking on this to see what the correct process is. I had assumed it would be to place the scripts in the storage/scripting folder and use include, but that's not working for me either....
View ArticleCan scripts such as jquery be placed in the files part of DF?
Check out the documentation here: http://wiki.dreamfactory.com/DreamFactory/Features/Scripting/V8Js#Including_Other_ScriptsYou have to use require and exports. Can you explain why you don't have...
View ArticleUpdate field using PreProcess scripts
Hi @Matt_2012, Try this way: //check if u have a payload if (event.request.payload) { //check if u have the key snapTypeID if (!event.request.payload.snapTypeID) { throw 'snapTypeID cannot be empty';...
View ArticleUpdate field using PreProcess scripts
If you're trying to create records, your payload should contain an array named 'resource'. http://wiki.dreamfactory.com/DreamFactory/Tutorials/Posting_records
View ArticleCan scripts such as jquery be placed in the files part of DF?
bit1.PNG1060x401 25.4 KB bit2.PNG471x551 19.1 KB These were both done with FileZilla using an AWS paired key. I do not have permission to upload to the directory and I do not have permission to change...
View ArticleUpdate field using PreProcess scripts
Hi should the resource be where I update the data ? I am getting closer but still not able to modify (change the title) in the record before it is added to the table. I now have a resource array in...
View ArticleNumber of registers in DreamFactory reponse
Hello! I'm having a problem with the numbers of registers that DreamFactory is responsing when I make a research. I have 5000 registers in a table, and i need to research all of then. But when I make...
View ArticleHow to authenticate with v8js script?
Have look at this post community.dreamfactory.com Custom resource-path Thanks man, for the enlightening examples. Maybe that's the only way to do what I want, even disliking hahahaha Thanks for you...
View ArticleUpdate field using PreProcess scripts
Make sure you are editing the correct script depending on POST or PATCH, and that the scripts are marked as Active. For example, db.table.contact.post.preprocess vs db.table.contact.patch.preprocess
View ArticleAccessing API via custom domain
I guess the problem for some people might be is that they don't want to expose the admin console (read dreamfactory/dist path). It is maybe nicer if the api and the app are on the same and higher...
View ArticleNumber of registers in DreamFactory reponse
You can edit config/df.php to increase from 1000, but you should consider using the limit and offset params to paginate the results. If you had millions of records loading all of them in a single...
View Article