Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all 1524 articles
Browse latest View live

How can I get salesforce custom report data using wsdl, Is it possible?

$
0
0

@SarikaA wrote:

Hi,

I have created a developer account and developer a custom report in salesforce. Now, I want to get the same report into my domain, using WSDL. Is it Possible? If Yes, then how…?

Guide me how to get the feed from salesforce cusotm reports using WSDL…

Can anyone point me in the right direction about Salesforce Developer?

Thanks for considering

Posts: 1

Participants: 1

Read full topic


Empty Array being Returned from MariaDB Table

$
0
0

@kHub wrote:

I’m trying to track down the cause of a peculiar issue with one of our tables…
and (of course) would appreciate any thoughts.

We have an InnoDB table (version 10.1.22-MariaDB) with 65 columns.
It is almost identical (except for six varchar lengths) to a table which is preforming as expected.
When directly queried, the mysql command-line spews forth 249 rows.

When attempting to query the table, via DreamFactory via “API Docs”, curl, or a “Request URL”, I receive:

Array
(
)

The “Data” top-level menu item is unresponsive when querying this table; no Fields, and the Data tab never arrives.

I’ve restarted the services, flushed the system-wide cache, reviewed permissions, and scrutinized the schema and data, but have noticed nothing out of the ordinary.

Neither the apache logs nor /opt/bitnami/apps/dreamfactory/htdocs/storage/logs/dreamfactory.log reveal anything of interest.
Even with .env’s APP_LOG_LEVEL=debug, I only see:

local.INFO: [REQUEST] {“API Version”:“2.0”,“Method”:“GET”,“Service”:“myService”,“Resource”:"_table/myTableName"}
local.DEBUG: [REQUEST] {“Parameters”:"[]",“API Key”:“myKey”,“JWT”:“enormouslyLongString”}
local.DEBUG: API event handled: myService._table.{table_name}.get.pre_process
local.DEBUG: API event handled: myService._table.myTableName.get.pre_process

Thanks for reading.
I hope this scenario looks familiar to someone,
and that your day is more productive than mine!

Posts: 1

Participants: 1

Read full topic

Unable to update display_name in user profile

$
0
0

@mmwaseem wrote:

Hi there,

I’m going through DF, setup an instance on Bitnami - AWS.

I’m able to create user using this end-point http:///api/v2/user/register by sending:
{
“email”: "mmwaseem@xxxxx.com",
“password”:“secret”,
“first_name”: “John”,
“last_name”: “Doe”
}

I’m receiving email confirmation (though email is ended up in spam folder) and able to confirm by clicking the confirmation link - so far so good.

When I wanted to update the user profile using this api end-point http:///api/v2/user/profile by sending body request:
{
“email”: "mmwaseem@xxxxx.com",
“first_name”: “Waseem”,
“last_name”: “Mohammed”,
“display_name”: “Waseem Mohammed”,
“phone”: “”,
“security_question”: “”,
“default_app_id”: 0,
“security_answer”: “”
}

I’m receiving success:true response, however display_name field does not seems to be commit, I still got the old values. Any idea what I’m missing here.

It’s a DreamFactory 2.12.0-1 Bitnami on AWS instance.

Posts: 2

Participants: 2

Read full topic

Want to send mail using mutt from Dreamfactory Debain Server

$
0
0

@Musa wrote:

I’m sending mails from DreamFactory debian server using “mutt” email client. but it’s giving me error back
like "Undelivered mail " in mailbox.

What should I do???

Posts: 1

Participants: 1

Read full topic

Folder 'XYX' does not exist

$
0
0

@radodr wrote:

Hello,
I’m using DreamFactory Version: 2.12.0 (from bitnami installer on centos 7). I have Local Storage.
Problem is when I try to upload binary file (photo) to storage into not-existing directory.
Older version of DF I think do it right.
When I separate creation of folder from upload file, than it is works.

There is my call:
curl -X POST “https://…/api/v2/files/” -H “accept: application/json” -H “X-File-Name: folder/file.x” -H “X-Folder-Name: folder” -H “Content-Type: raw” -H “X-DreamFactory-API-Key: apiXXX” -H “X-DreamFactory-Session-Token: tokenXXX” -d “sss”

and error output:
{
“error”: {
“code”: 404,
“context”: null,
“message”: “Folder ‘folder’ does not exist.”,
“status_code”: 404
}
}

How can I call local service to create directory at first and after that upload file.

Thank’s for advices.
Rado.

Posts: 1

Participants: 1

Read full topic

Newbie Question - JSON, MySQL

$
0
0

@Jabber wrote:

I would like to connect to external resource and query records(customer,email) for a specific time frame and then retrieve them to either send an email from a script or store them into a database, then send the email. I’m thinking that storing into the db then sending the email would be best practice?

Not sure where to start.

Thanks!

Posts: 1

Participants: 1

Read full topic

Gate_way timeout

$
0
0

@Praveen_BM_Reddy wrote:

Hi,
I am executing some scripts while in post process it was working fine till today morning. Suddenly today it show 504 GATE_WAY timeout error while inserting record for the table which the scripts has written. Please let me know why this error show.
Please help to solve this issue
Thank you,.

Posts: 1

Participants: 1

Read full topic

No longer connect to mysql

$
0
0

@Bryan_Lighton wrote:

Any help would be appreciated.
I started getting and error on any connection attempts through api to mysql.
Connection to users ect. still work fine.

“SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution (SQL: SHOW FULL TABLES FROM databaseName WHERE TABLE_TYPE = ‘BASE TABLE’)”

I would assume a DNS issue.
However, I have this service to mysql configured in dreamfactory with IP address so DNS should be out of it.

Thank you.
Bryan

Posts: 1

Participants: 1

Read full topic


Invalid or unparsable filter request, PHP Server-Side Scripting

$
0
0

@kawisoft wrote:

I am writing a PHP Server-Side script and upon running a get request on my exchange_rates table, I was able to retrieve all the records in that table.

However, the below error is returned whenever I attempt to apply a filter to the query, eg: $url = $db_service.’/exchange_rates?select=rate,id,inverse&filter=source_currency=GBP’;

Error Response:
{
“error”: {
“code”: 500,
“message”: “error code = 400, messsage = Invalid or unparsable filter request.”
}
}

I have been siting on this for almost 2 weeks and now in need of urgent help. I will be grateful for a quick response.

Posts: 1

Participants: 1

Read full topic

How to send Attachments in sending Email API

$
0
0

@Nilam_Bhapkar wrote:

I am not able to attach file while sending email from dreamfactory or need example that how to attach file while mail sending.
Please reply me asap.

Posts: 1

Participants: 1

Read full topic

Returning nested results based on matching keys in results

$
0
0

@bojanturk wrote:

Hi There

I’m using the _proc services to retrieve values from a MS SQL database server and the server is returning multiple rows, which have a relationship.

I’m very new to this, and wondering if there was a simple way to change the output using the post processing script.

For example the result set currently looks like this:

{
“resource”: [
{
“ID”: “7429965”,
“REFERENCE”: “5344013”,
“PRODUCT”: “12345”,
“QUANTITY”: 1,
}
{
“ID”: “7429965”,
“REFERENCE”: “5344013”,
“PRODUCT”: “12346”,
“QUANTITY”: 2,
}
{
“ID”: “82828282”,
“REFERENCE”: “5344013”,
“PRODUCT”: “12344”,
“QUANTITY”: 2,
}
],
“STATUS”: 200,
“MESSAGE”: “Success”
}

I want to nest this, but only if both ID + REFERENCE are exactly the same.

This would be the ideal output:

{
“resource”: [
{
“ID”: “7429965”,
“REFERENCE”: “5344013”,
“PRODUCTS”: [
{
“PRODUCT”: “12345”, “QUANTITY”: 1,
“PRODUCT”: “12346”, “QUANTITY”: 2
}
],
}
{
“ID”: “82828282”,
“REFERENCE”: “5344013”,
“PRODUCT”: “12345”,
“QUANTITY”: 2
}
],
“STATUS”: 200,
“MESSAGE”: “Success”
}

Posts: 1

Participants: 1

Read full topic

Build a free API without api_key

$
0
0

@vlauciani wrote:

Hi all

I’ve a lot of API used to distribute data by GET request; I’d like to create a free GET API without api_key. Is there a way?
I tried using “Guest Access” but It provide an access to specific API services without requiring authentication (token) but requiring “api_key”. Is there a way to release a free API?

Thank you.

Posts: 1

Participants: 1

Read full topic

Payment Integration with SumUp

$
0
0

@logicalex wrote:

Has anyone added the payments service SumUp to their DreamFactory setup? If so, I was wondering if you have any config advice? I will be attempting to go through the official SumUp documentation shortly, but thought I’d ask here first because now doubt there will be some unconventional gotchas!

Posts: 1

Participants: 1

Read full topic

InfluxDB anyone? :)

$
0
0

@m_menon wrote:

hi, any minuscule chance that InfluxDB would be supported sometime in future? That would be pretty cool :star_struck:

With the increase in IoT devices, InfluxDB seems to be one of the common choices for timestamped data.

Posts: 1

Participants: 1

Read full topic

1-to-Many JSON Structures & typing in SQL queries

$
0
0

@tropicaltwin wrote:

Just installed DF to change an existing PHP-based website to use publicly exposed APIs rather than direct DB connectivity.

Currently, I have custom written SQL queries either in the DB as a View or within the PHP pages. But I need a more generic query that will be the primary basis of the API.

The structure will have 1-to-many relationships, i.e. 1 order could have multiple products, linked via a foreign key. How do I achieve this?

And how can I simply type in the SQL query using the DF UI while testing? When working, it will be converted to a view, then a “SELECT * FROM view” or whatever…

Posts: 1

Participants: 1

Read full topic


How to page the restful api of the database

Using Slack SCIM API to provision users via SailPoint IIQ

$
0
0

@Bargavi_kalla wrote:

I want to use SailPoint IIQ to provision and de-provision Slack users via Slack SCIM API. Slack SCIM API uses version 1.1. and uses Basic or OAuth for authentication. I have setup a Slack Enterprise account, generated the API key, and the sailpoint SCIM API call works via Postman or cURL. However, I am unable to setup the Basic Auth or OAuth tokens for authentication.

Posts: 1

Participants: 1

Read full topic

Trying to get PHP script working on a Get PostProcesing

$
0
0

@gwmalbert wrote:

I’m trying to get a PHP script to work when I call a table with a GET. I want to modify the JSON response to meet the format needed by my mobile app to display the information.

I have put this script on my service Dining as a table get post process ( dining._table.RightNow.get.post_process). The intent is to get it to return the JSON in a way that can be consumed in the mobile app tool.

Here is my php:
###########################
$data = event.response.content;

$info = json_decode($data);

ob_start();

echo ’
{
“metadata”: {
“version”: “1.0”
},
“content”: [
{
“elementType”: “portlet”,
“navbarTitle”: “Dining Budget”,
“height”: “medium”,
“content”: [
{
“elementType”: “carousel”,
“items”: [
{
“title”: “As of: ‘.$info->AsOf.’ ?>”,
“subtitle”: “Status: ‘.$info->budgetstatus.’”,
“subtitle”: “Spend: ‘.$info->Spent.’”,
“image”: {
“url”: “https://s3.amazonaws.com/gwmobile/’.$info->image.’.jpg
}
},
{
“title”: “Details”,
“subtitle”: “Average Daily Spend: ‘.$info->DailyAvg.’”,
“subtitle”: “Daily Budget Amount: ‘.$info->DailyBudget.’
}
]
}
]
}
]
}

;
$myStr = ob_get_contents();

return $myStr;

ob_end_clean();

###########################

I’m sure I’m just not thinking clearly. My hope is to use this for students in my course, which is a business students that won’t be strong at programming and system administration. DreamFactory would work great for them to connect a mobile app provided this PHP can work.

Thanks,
Mark

Posts: 4

Participants: 2

Read full topic

Server requiring proc_open to install DreamFactory

$
0
0

@Swishy wrote:

Hello,

I am wondering if you can assist?

It appears that the function proc_open is required to install Dream Factory on a Linux web server.

I have asked my host to enable it, and they have said:


The function proc_open is disabled by default in the cPanel server for security reasons.

Enabling that function might expose the server to external attacks and vulnerabilities

Please confirm if you wish to enable the proc_open function of php.


Is proc_open safe to enable?

Kind regards,

Anthony

Posts: 1

Participants: 1

Read full topic

After activating python script 500 error occured

$
0
0

@Dev_Kumar wrote:

I just started using DF and try to modify the response using the python server side script and whenever i activate the script internal error 500 occurs also i tried to remove the all code the repeat the process to check do i have any problem with my code but still the error is same help me out with this
Tell me how to get started with python server side script anything not included in DF youtube tutorial.

Posts: 1

Participants: 1

Read full topic

Viewing all 1524 articles
Browse latest View live