TypoScript

powermail2salesforce needs some basic TypoScript configuration. To do so you have to add an +ext template to either the root page of your website or to a specific page which contains the powermail2salesforce plugin.

  1. Locate page

    You have to decide where you want to insert the TypoScript template. Either root page or page with powermail2salesforce plugin is OK.

  2. Create TypoScript template

    Switch to template module and choose the specific page from above in the pagetree. Choose Click here to create an extension template from the right frame. In the TYPO3 community it is also known as "+ext template".

  3. Add static template

    Choose Info/Modify from the upper selectbox and then click on Edit the whole template record button below the little table. On tab Includes locate the section Include static (from extension). Use the search above Available items to search for powermail2salesforce. Hopefully just one record is visible below. Choose it, to move that record to the left.

  4. Save

    If you want you can give that template a name on tab "General", save and close it.

  5. Constants Editor

    Choose Constant Editor from the upper selectbox.

  6. powermail2salesforce constants

    Choose PLUGIN.TX_POWERMAIL2SALESFORCE from the category selectbox to show just powermail2salesforce related constants

  7. Configure constants

    Adapt the constants to your needs.

  8. Configure TypoScript

    As constants will only allow modifiying a fixed selection of TypoScript you also switch to Info/Modify again and click on Setup. Here you have the possibility to configure all powermail2salesforce related configuration.

Finisher

class

class
Required

true

Type

string

Default

JWeilandPowermail2salesforceFinisherSalesforceFinisher

Path

plugin.tx_powermail.settings.setup.finishers.100

The FQCN of the PHP class which handles the transfer to the salesforce API. In most cases there is no need to change that setting.

Finisher Configuration

_enable

_enable
Type

boolean

Default

1

Path

plugin.tx_powermail.settings.setup.finishers.100.config

With this switch you can deactivate the connection to salesforce API.

targetUrl

targetUrl
Required

true

Type

string

Default

[EMPTY]

Path

plugin.tx_powermail.settings.setup.finishers.100.config

Set the *.php URI endpoint of the salesforce API endpoint starting with https://. Example: http://www.target.com/target.php.

orgid

This is a salesforce specific option.

orgid
Required

true

Type

integer

Default

[EMPTY]

Path

plugin.tx_powermail.settings.setup.finishers.100.config

Set the organization UID.

recordType

This is a salesforce specific option.

recordType
Required

true

Type

string

Default

[EMPTY]

Path

plugin.tx_powermail.settings.setup.finishers.100.config

Set the record type.

type

This is a salesforce specific option.

type
Required

true

Type

string

Default

[EMPTY]

Path

plugin.tx_powermail.settings.setup.finishers.100.config

Set the type.

origin

This is a salesforce specific option.

origin
Required

true

Type

string

Default

[EMPTY]

Path

plugin.tx_powermail.settings.setup.finishers.100.config

Set the origin.

username

Basic Auth Protection - leave empty if Target is not protected.

username
Type

string

Default

[EMPTY]

Path

plugin.tx_powermail.settings.setup.finishers.100.config

Set the username for the .htaccess basic auth protection.

password

Basic Auth Protection - leave empty if Target is not protected.

password
Type

string

Default

[EMPTY]

Path

plugin.tx_powermail.settings.setup.finishers.100.config

Set the password for the .htaccess basic auth protection.

debug

debug
Type

boolean

Default

0

Path

plugin.tx_powermail.settings.setup.finishers.100.config

If activated, we add further debugging information to the output.