Setting up Permanent Session Token in DF 2.0
Bitnami AWS images have the Bitnami stack installed in /opt/bitnamiThis makes the path to the DreamFactory portion of the stack /opt/bitnami/apps/dreamfactory/htdocs
View ArticleNeed help with user.register.post.post_process script
Hi, It seems to be working now. Although, I think the problem was on this part of the code. if (event.request.payload.resource) { Because if I immediately do a post with this like @kimpatro suggested...
View ArticleError when using API
I am not able to duplicate this problem are you on the latest version of DreamFactory? (2.0.2)
View ArticleMulti-App DF server
If you used the javascript sdk (for v 1.9) it builds its API calls by first pulling from the API Docs, so everything is loading in the background.You may want to attempt to move to 2.0 by the way,...
View ArticleConnection failed to open the DB connection: SQLSTATE[HY000] [2054]
What type of installation is this, and what operating system? What version of PHP are you running?
View ArticleAPI Error (Array to string conversion)
Can you post the whole error? Also, what type of sql database is this? What version of DreamFactory and what operating system/install type?
View ArticleError when using API
With more testing I was able to figure out that if I request the data in XML it works fine, so it's something to do with JSON. I also noticed that the tables that failed to get records were all tables...
View ArticleDF2 - role_id value is based on Default Role, not on the setting in the User tab
The reason it show guest when you POST to user/session is because the role is being assessed before the session is established.If you turn around and to a GET on user/session with your session token...
View ArticleError when using API
Yes, I was able to duplicate the problem that way. Actually had nothing to with quotes in the data.I'll look into the timestamp issue. Might need to file a bug.
View ArticleSmarter JSON from SQL
Hi, I'm wondering.. is there a way you can write your SQL Stored Procedures to return a smarter or more tidy JSON object rather than just a mass of columns? For example I have one SP which returns...
View ArticleSmarter JSON from SQL
Yes, you just need to create a procedure in your DB, then you call via GET this way: /your-db-service/_proc/{procedure_name}
View ArticleDF2 - role_id value is based on Default Role, not on the setting in the User tab
Thanks Drew I don't like the idea of doing more than one api call for a login. Is this in plan to be fixed?I have already an extended user dataset in a different table, for now I will use that to...
View ArticleAPI Error (Array to string conversion)
drewpearce: Can you post the whole error? Also, what type of sql database is this? What version of DreamFactory and what operating system/install type? That's the only error message that comes up on...
View ArticleIssue with custom email template
kimpatro: In template you have to set all the things you need. "Sender email" and "Sender name" is what you need to change, above the Body input. Hi, I reverted back to using the User Registration...
View ArticleDreamfactory installation on bluemix
Hi All, I am trying to install Dreamfactory 1.9.4 on IBM Bluemix but no success. I made all changes as described in this link from : https://www.dreamfactory.com/solutions/bluemix I got buildpack...
View ArticleSmarter JSON from SQL
This is yes calling a stored procedure, but my question is more around is there a way to write your procedure that would return the data in separate properties without having to call multiple...
View ArticleOlder bitnami stack for dreamfactory 1.9.4, need v8js
thanks for that clue, i will try...finally i raised up v8js, now i want to give a get request in scripts but cant find way to get on certain ports, even port 80, see:var _result =...
View ArticleSmarter JSON from SQL
Ah sorry, Ok, one way is creating a Custom Script that call those two SP and return a JSON with those two SP grouped as result. Ex code: quotes =...
View ArticleIssue with custom email template
Hi Allen, how it's your "User Registration Default" email template? All fields filled?
View Article