Connect to Salesforce using wsdl in Drupal 8

Hi,

I am trying to connect to Salesforce (SF) with wsdl to pull data.

I can't use SF suite module or Salesforce rest client service.

In the D7 file, i have:

require_once ('soapclient/SforceEnterpriseClient.php');
require_once('soapclient/SforceHeaderOptions.php');
ini_set("soap.wsdl_cache_enabled", "0");

$sfdc = new SforceEnterpriseClient();
$SoapClient = $sfdc->createConnection($curPath.'/enterprise.wsdl');

It create the connections without any problems.

AEM: have you run into any companies with buyer's remorse?

I'm curious if any developers out there have had clients using AEM looking to migrate to drupal. Why did they decide to make the change?

Was it cost of licensing? The cost of development? Speed/difficulty of custom development? OR something else?

Populating widget with multiple (but variable amount of) textfields through ajax callback (d8)

Through an ajax callback triggered by a form element, I'd like to populate a textfield widget with unlimited cardinality. The number of textfields in the widget and their values varies based on the triggering element value. The situation is an ingredients list based on the entered product code. The user should be able to alter the generated list before submitting the form. I couldn't figure out how to change the amount of textfield elements in the widget without the changes getting lost after the callback.

changing default language and suppressing URL prefix

Hi,

I use Drupal 8.5, initial installation was in English, but I want the site in German so I followed the steps described here: https://www.drupal.org/docs/8/multilingual/install-a-language and installed German and changed the default language to German.

My only problem now is that Drupal keeps adding /de/ in the URLs but I don't want this.

How can I get rid of this?

Should I delete the English language?

thank you & best regards

M

Drupal 8 download file from PostgreSQL

Hello,

I would like to build a D8 site which is able to upload jpg files by users. 

First of all, when the users upload jpg files, I want to convert the file to bytes and store in to the PostgreSQL bytea field.

Secondly, my site should have the ability to download back these uploaded files separately whenever users ask again.

Is there anybody who can give me an idea about how to do it?

Thanks in advance

Drupal 8 download file from PostgreSQL

Hello,

I would like to build a D8 site which is able to upload jpg files by users. 

First of all, when the users upload jpg files, I want to convert the file to bytes and store in to the PostgreSQL bytea field.

Secondly, my site should have the ability to download back these uploaded files separately whenever users ask again.

Is there anybody who can give me an idea about how to do it?

Thanks in advance

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x