Hi Gabriel,
I am trying to use ng-file-upload, but I am currently getting a 500 error. IS there anyway you could share some more you your code with me?
Thanks,
Brock
Hi Gabriel,
I am trying to use ng-file-upload, but I am currently getting a 500 error. IS there anyway you could share some more you your code with me?
Thanks,
Brock
try var_dump, like this for example:
var result = platform.api.get("mongodb/_table/contact", params);
var_dump("dumping result");
var_dump(result);
As @mimu mentioned in his post,"How to convert XML response of Remote web service to JSON", I too would be interested in how to implement the following:
"From the 2.1 release notes:
XML to JSON content conversion now handles namespaces (i.e. singular namespaces are used to pull data into JSON format)."
Please advise, kind regards,
Kieren.
Hi ,
I just upgraded to DF 2.1.0 and my APIs for createRecord (table/{tablename}) started failing.
On experimenting a bit I found that the Payload that worked earlier and now started showing "No record(s) detected in request" was due to wrapping of data around "resource" item . It wasnt compulsory and worked fine with v2.0 , but doesnt now.
Worked fine with below format in v2.0 Requires now to be of this format in v2.1.0 I dont want to change my code at several places , so wanted to know if I have any option besides downgrading to v2.0 ?
{
}
{
"resource":
[
{
}
]
}
You are correct that the resource array is now required. No need to downgrade for this. Just update those several places in your code and be done with it.
Hi,
Thank you for the suggestion. I used var_dump as well. The log is not capturing any of these messages. I am always getting the message as follows in the log:
[2016-03-16 03:43:09] local.DEBUG: Resource event: srdb.table.FirstTable.post.postprocess
Even adding var_dump("Starting") step in the post or pre process of processing event, none of these messages are being displayed.
Please suggest.I a trying to do this since for 1 week.
Best Regards
Krishna G
Hi Ben,
Thank you for the suggestion. I used var_dump as well. The log is not capturing any of these messages. I am always getting the message as follows in the log:
[2016-03-16 03:43:09] local.DEBUG: Resource event: srdb.table.FirstTable.post.postprocess
Even
adding var_dump("Starting") step in the post or pre process of processing event, none of these messages are being displayed.
Please suggest.I a trying to do this since for 1 week.
Best Regards
Krishna G
Hi Ben,
Happy to See your Reply,
In Dreamfactory 2.1.0 there is no config/common.config.php file. That's why I got Confused. After that I got solution from your clue.
(i.e)
Override code like below in bootstrap/cache/config.php
array (
'max_records_returned' => 10000,
Thanks for Your Support,
hi todd
what are the reasons of the return of the "ressoures array"?
We're building a web services platform to begin to replace parts of an existing monolith. The first front to back operation I want to attack is authentication.
I've successfully incorporated the concepts in the angular demo DF has online but i have a more general question.
If our existing mysql db is 40-50k users how should we consider authenticating them into an app?
Does each user have to be in the DF users console or authenticated through an ad/ldap?
Should we create a server-side php script to hash the incoming pswd and provide the app a login success/fail? If so, how would we approach passing a session token back which would qualify that user access to authorized endpoints?
Thx for any input. Look forward to your feedback.
Hi,
I have chosen bitnami dreamfactory. The challenge is that, I am unable to use v8js scripting. The dreamfactory mentioned that bitnami comes with v8js by default.
Is there any we can check whether v8js installed or not in bitnami?
Thanks
KrishnaG
Any other suggestions please. I am kind of stopped here.
What is the syntax to reference incoming URL parameters? I'm doing it in PHP and I assumed $_GET = variable, but that returns "There was an error.".
$params = $event['request']['parameters'];
Examples here:
Try a single line script like this:
var_dump("Hello");
If that doesn't work perhaps V8 is not running properly. What OS and DreamFactory version are you on?
Hi,
Sorry for the noob question but I can't seem to find a way to display more than 20 users from the Admin page. I found this thread but not sure if its related.
I already have 23 users in my dsp and it only shows 20 of them in the Users tab. There's no page 2 coming up. Just page 1.
Appreciate any help.
Edit: Forgot to add.
Admin Application Version: 2.0.5
DreamFactory Version: 2.0.2
Regards,
Allen
Hi - Did you get an answer to this? I'm having the same issue. Thx.
Hi
it's known bug,
for the time being export the user list CSV etc and confirm that's how we are doing it
Hello
I have been trying to add a SOAP Service as described in this post but whenever I create the service and go to the API docs to test it, the Docs tab presents a dump of raw HTML code and Stylesheet with the line <h1>Whoops, looks like something went wrong.</h1>
somewhere near the end.
When I delete the service, everything goes back to normal and the API Docs are accessible again. Have tried this with several different WSDLs but get the same result. Am running DreamFactory Version: 2.1.0 and Admin Application Version: 2.1.3. on Windows 10.
How can I figure out what is going on and how can I correct it?
Not me... I haven't figured out how to fix cacert.pem or given any details on it