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

Is SQL aggregation supported? SUM() COUNT() etc

@viraf Can you check that you are running version 2.0.3 (bug fix for filter functions)? If so, are you getting an error with the call or just not the correct result set requested? If an error, please...

View Article


URL Parameter "accept" not working?

@Reto Sorry for the confusion, it looks like that wiki page was mistakenly updated by myself with stuff coming in the next release. The Accept header is currently working, but no the URL param. Stay...

View Article


DB Function in Schema -> Table -> Field?

@allensandiego The feature was added in 2.0.2. Here is the wiki doc on it. Also see Virtual Fields section just above it for more info. Still filling out the docs, so let me know if you have more...

View Article

Is SQL aggregation supported? SUM() COUNT() etc

@leehicks I m now running DF 2.0.3 and still unable to get desired set. It gives me an error "Invalid field requested: amt" My Query -...

View Article

URL Parameter "accept" not working?

Okay.I guess I could also create a custom scripting service which translates the param to a header.

View Article


Is SQL aggregation supported? SUM() COUNT() etc

@viraf For starters lets check the field list. Do a call to http://localhost:8080/api/v2/sugarcrm/_schema/opportunities?refresh=true and check the field list and make sure the "amt" field is listed....

View Article

Image may be NSFW.
Clik here to view.

Is SQL aggregation supported? SUM() COUNT() etc

Firstly 'amt' is a virtual value holder for the aggregate function SUM(Amount) e.g amt=(SUM(Amount)) I even tried without having fields=amt as well but still get an error.

View Article

MySQL Function RBAC Not Configurable

In MySQL, I created a function. I then go into the DSP console and flush the caches. Next, I go to Roles/(Role)/Access/+ to add an Advanced Filter and the newly added function doesn't appear. Does the...

View Article


Is SQL aggregation supported? SUM() COUNT() etc

@viraf Ahhh, now I see the issue. The API requires that fields be specifically be defined for security reasons and thus can not be "virtually defined" per request. What you need to do is declare "amt"...

View Article


Can a session token be generated in pure HTTP?

I believe the answer to my question is currently "no" because according to this post parameters are not accepted in the url - only in the headers. Can someone correct me if I am mistaken?...

View Article

URL Parameter "accept" not working?

I have a very similar post going. So to be clear no params can be posted in a URL? My post is here... community.dreamfactory.com Can a session token be generated in pure HTTP? Hi All I want to...

View Article

Can a session token be generated in pure HTTP?

You are correct that your scenario is not workable.To create a session, you must POST to user/session with a POST payload that includes the user's email and password

View Article

PHP scripting to POST to external MySQL for new registrations

To answer you first question, probably not because I do not know how to do this. Could you show me how? To answer you second, it appears you are creating a password to be held in the remote database....

View Article


Can a session token be generated in pure HTTP?

OK, no worries and with thanks. And then even if we have POSTed to get the session token we still cannot use a URL only because the params need to be in the header too right?

View Article

Cannot remove role from user

@Ben_Keller This has been fixed in DreamFactory 2.0.3 . Following the steps here: http://wiki.dreamfactory.com/DreamFactory/Installation#Upgrade you will be able to patch from GitHub.

View Article


Is SQL aggregation supported? SUM() COUNT() etc

@leehicks Could you please point me to possible security reasons to not allow virtually defined fields per request. Also could you please help me map my following query to the api parameters without...

View Article

Failed to launch service "df"

@tejas hard to say from the error message alone. Could you provide some more information about your instance? Some useful information would be the type of web server used during installation and...

View Article


Can a session token be generated in pure HTTP?

You can pass the api key and session token in the URL as parameters rather than headers.ex:http://myurl/api/v2/db/_table/todo?api_key=myapikey&session_token=mysessiontoken

View Article

About the Legacy Product category

This category is for seeking help with older DreamFactory products, such as DreamFactory 1.x.

View Article

How to allow utf-8 unicode (utf8) storing on dreamfactory?

A post was split to a new topic: Help with utf-8 in platform.api

View Article
Browsing all 5027 articles
Browse latest View live