# Development

**URL:** https://forum.mautic.org/c/development/9.md?page=10

[Latest](https://forum.mautic.org/latest.md) · [Categories](https://forum.mautic.org/categories.md) · [Tags](https://forum.mautic.org/tags.md)

**Page:** 11

---

## [Extending Lead entity giving "DoctrineORMMappingMappingException" error](https://forum.mautic.org/t/extending-lead-entity-giving-doctrineormmappingmappingexception-error/8405)

<div class="topic-metadata">

**Author:** [@Kumar2112](https://forum.mautic.org/u/Kumar2112)\
**Replies:** 2\
**Last updated:** [July 24, 2020, 9:24pm UTC](https://forum.mautic.org/t/extending-lead-entity-giving-doctrineormmappingmappingexception-error/8405 "2020-07-24T21:24:42Z")

</div>

Hi i am creating a new plugin .thats why i need to extend the leadentity so i tried to extend the leadentity like this /\*\* Class Lead. \*/ class Liaselead extends Lead { /\*\* @var DateTime \*…

---

## [How do you decode the contact id from the return email address?](https://forum.mautic.org/t/how-do-you-decode-the-contact-id-from-the-return-email-address/15152)

<div class="topic-metadata">

**Author:** [@ricksimnett](https://forum.mautic.org/u/ricksimnett)\
**Replies:** 0\
**Last updated:** [July 9, 2020, 8:38pm UTC](https://forum.mautic.org/t/how-do-you-decode-the-contact-id-from-the-return-email-address/15152 "2020-07-09T20:38:23Z")

</div>

Hello, Im building a custom bounce handler to allow PowerMTA to report bounces via the Mautic API. On the surface its easy to do - ONCE YOU HAVE THE CONTACT ID. What Im struggling to figure out is how to get the contact…

---

## [Does $event-\>setResult(false) create a failure notification in the web interface?](https://forum.mautic.org/t/does-event-setresult-false-create-a-failure-notification-in-the-web-interface/15020)

<div class="topic-metadata">

**Author:** [@danielhilst](https://forum.mautic.org/u/danielhilst)\
**Replies:** 1\
**Last updated:** [July 2, 2020, 6:21pm UTC](https://forum.mautic.org/t/does-event-setresult-false-create-a-failure-notification-in-the-web-interface/15020 "2020-07-02T18:21:41Z")

</div>

Hi everybody I’m writing a custom plugin. This plugin create an action for calling user by phone using a SaaS, this action works by calling a REST service with the contact information. At the first call the user is adde…

---

## [How to retry with custom actions?](https://forum.mautic.org/t/how-to-retry-with-custom-actions/14625)

<div class="topic-metadata">

**Author:** [@danielhilst](https://forum.mautic.org/u/danielhilst)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 6:41pm UTC](https://forum.mautic.org/t/how-to-retry-with-custom-actions/14625 "2020-06-30T18:41:52Z")

</div>

When executing a custom campaign action I can set the result with $event-\>setResult(true) or $event-\>setFailed('some reason'). I want the action to be retried over and over until it’s finished. I tried setResult(false),…

---

## [getModel() method error: is not a registered container key](https://forum.mautic.org/t/getmodel-method-error-is-not-a-registered-container-key/15018)

<div class="topic-metadata">

**Author:** [@alfredoct96](https://forum.mautic.org/u/alfredoct96)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 12:47pm UTC](https://forum.mautic.org/t/getmodel-method-error-is-not-a-registered-container-key/15018 "2020-06-30T12:47:36Z")

</div>

An exception occurred when i call $this-\>getModel('customdashboard.embed') inside my Controller. I used the correct nomenclature (mautic.UNIQUE\_BUNDLE\_IDENTIFIER.model.MODEL\_IDENTIFIER), plugin’s name is CustomDashboard…

---

## [How to find a developer?](https://forum.mautic.org/t/how-to-find-a-developer/14791)

<div class="topic-metadata">

**Author:** [@oguruma](https://forum.mautic.org/u/oguruma)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 4:31pm UTC](https://forum.mautic.org/t/how-to-find-a-developer/14791 "2020-06-24T16:31:18Z")

</div>

I need a developer that can help me with a specific project. I essentially want to use Mautic as a content locker for a Wordpress blog. In essence I would like to give users a certain number of Wordpress articles for f…

---

## [Make token variable work in test email sends](https://forum.mautic.org/t/make-token-variable-work-in-test-email-sends/14783)

<div class="topic-metadata">

**Author:** [@jason](https://forum.mautic.org/u/jason)\
**Replies:** 0\
**Last updated:** [June 15, 2020, 1:10pm UTC](https://forum.mautic.org/t/make-token-variable-work-in-test-email-sends/14783 "2020-06-15T13:10:19Z")

</div>

Currently in Channels \> Emails if you open an email you can choose to “Send Example”. This example does not correctly pull token variables (eg first names, etc) and this causes several headaches: its misleading, took …

---

## [Where is the mautic documentation? version "3"?](https://forum.mautic.org/t/where-is-the-mautic-documentation-version-3/14200)

<div class="topic-metadata">

**Author:** [@alexeimolina](https://forum.mautic.org/u/alexeimolina)\
**Replies:** 7\
**Last updated:** [June 11, 2020, 9:00pm UTC](https://forum.mautic.org/t/where-is-the-mautic-documentation-version-3/14200 "2020-06-11T21:00:12Z")

</div>

Hey everyone, I can’t find the new documentations ;c

---

## [Reformatting the "Unsubscribe" Line at the bottom of the email](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344)

<div class="topic-metadata">

**Author:** [@webananas](https://forum.mautic.org/u/webananas)\
**Replies:** 8\
**Last updated:** [June 1, 2020, 7:53pm UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344 "2020-06-01T19:53:06Z")

</div>

Hello! I am wanting to reformat this line in my email. I cannot find the html code anywhere, or find the settings to either remove the line completely, or reformat it. Ideally, I would like the line to be centered with …

---

## [What's the right way to use '$this-\>templating-\>render'?](https://forum.mautic.org/t/whats-the-right-way-to-use-this-templating-render/14568)

<div class="topic-metadata">

**Author:** [@alexeimolina](https://forum.mautic.org/u/alexeimolina)\
**Replies:** 2\
**Last updated:** [May 31, 2020, 5:13pm UTC](https://forum.mautic.org/t/whats-the-right-way-to-use-this-templating-render/14568 "2020-05-31T17:13:33Z")

</div>

Hi, I want to be able to render some service on email builder, I’m trying to use $content = $this-\>templating-\>render(‘HelloWorldBundle:SubscribedEvents\\EmailToken:token.html.php’); but I can’t find any documentation a…

---

## [Mautic integration with Shopify](https://forum.mautic.org/t/mautic-integration-with-shopify/7988)

<div class="topic-metadata">

**Author:** [@elin](https://forum.mautic.org/u/elin)\
**Replies:** 5\
**Last updated:** [May 30, 2020, 11:35am UTC](https://forum.mautic.org/t/mautic-integration-with-shopify/7988 "2020-05-30T11:35:00Z")

</div>

Hi, 1. I would like automatically upload emails from Shopify store orders (emails of people who purchased a product at my shopify store) to a segment in Mautic. There are a lot of email services that have dedicate…

---

## [Why don't Mautic themes reflect styling of Forms when embedded with a token?](https://forum.mautic.org/t/why-dont-mautic-themes-reflect-styling-of-forms-when-embedded-with-a-token/14565)

<div class="topic-metadata">

**Author:** [@coolguydudeman](https://forum.mautic.org/u/coolguydudeman)\
**Replies:** 0\
**Last updated:** [May 30, 2020, 11:02am UTC](https://forum.mautic.org/t/why-dont-mautic-themes-reflect-styling-of-forms-when-embedded-with-a-token/14565 "2020-05-30T11:02:52Z")

</div>

If I’m using a mautic landing page and embed a form using a token i.e. {form=1} then the form does not appear to use the form theme settings when embedded into a landing page. Therefore, if want to alter the structure of…

---

## [Mautic plugin development workflow (how to avoid cache?)](https://forum.mautic.org/t/mautic-plugin-development-workflow-how-to-avoid-cache/14540)

<div class="topic-metadata">

**Author:** [@danielhilst](https://forum.mautic.org/u/danielhilst)\
**Replies:** 0\
**Last updated:** [May 28, 2020, 8:41pm UTC](https://forum.mautic.org/t/mautic-plugin-development-workflow-how-to-avoid-cache/14540 "2020-05-28T20:41:13Z")

</div>

Hi everybody I’m in charge to write a Mautic plugin. I could get a basic hello world working using the docker image to test, but for every update I need to clean the cache and it take some minutes to recreate it again. …

---

## [How to set up a token (using addTokenSection) on config.php services? into a email builder?](https://forum.mautic.org/t/how-to-set-up-a-token-using-addtokensection-on-config-php-services-into-a-email-builder/14248)

<div class="topic-metadata">

**Author:** [@alexeimolina](https://forum.mautic.org/u/alexeimolina)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 9:22pm UTC](https://forum.mautic.org/t/how-to-set-up-a-token-using-addtokensection-on-config-php-services-into-a-email-builder/14248 "2020-05-22T21:22:44Z")

</div>

Hey, everyone, I’m trying to add a token into the email builder list tokens; using addTokenSection() function, but I can’t set up the services on config.php as far as I read and understand this is the basic set up to ar…

---

## [How to get the external webhook response data and save/use the data in Action/Decision/Condition](https://forum.mautic.org/t/how-to-get-the-external-webhook-response-data-and-save-use-the-data-in-action-decision-condition/14386)

<div class="topic-metadata">

**Author:** [@jegath](https://forum.mautic.org/u/jegath)\
**Replies:** 2\
**Last updated:** [May 21, 2020, 8:58am UTC](https://forum.mautic.org/t/how-to-get-the-external-webhook-response-data-and-save-use-the-data-in-action-decision-condition/14386 "2020-05-21T08:58:38Z")

</div>

Hi Team, We have created a Email Campaign. We are trying to call an external API using Webhook and want to use the response in the further email flow like save/use the data in Action/Decision/Condition. Any idea on how…

---

## [How to find if an email reply belongs to which campaign](https://forum.mautic.org/t/how-to-find-if-an-email-reply-belongs-to-which-campaign/14403)

<div class="topic-metadata">

**Author:** [@dipteel](https://forum.mautic.org/u/dipteel)\
**Replies:** 1\
**Last updated:** [May 20, 2020, 11:13pm UTC](https://forum.mautic.org/t/how-to-find-if-an-email-reply-belongs-to-which-campaign/14403 "2020-05-20T23:13:53Z")

</div>

Hi Team, We have created a custom code for parsing email reply. On parsing the monitored inbound email reply how do we know the reply is for which campaign. We need to identify the reply uniquely in relation to that spe…

---

## [How to POST the user replied email content in a Webhook request data](https://forum.mautic.org/t/how-to-post-the-user-replied-email-content-in-a-webhook-request-data/14389)

<div class="topic-metadata">

**Author:** [@dipteel](https://forum.mautic.org/u/dipteel)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 1:02am UTC](https://forum.mautic.org/t/how-to-post-the-user-replied-email-content-in-a-webhook-request-data/14389 "2020-05-19T01:02:29Z")

</div>

Hi Team, We have created an email campaign and a decision with ‘Replies to email’. We want to POST the user replied email content to an external API using Webhook. How to get the replied email content and create a Webho…

---

## [How can I retrieve the campaign id and use it in email template sent to user](https://forum.mautic.org/t/how-can-i-retrieve-the-campaign-id-and-use-it-in-email-template-sent-to-user/14388)

<div class="topic-metadata">

**Author:** [@dipteel](https://forum.mautic.org/u/dipteel)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 12:46am UTC](https://forum.mautic.org/t/how-can-i-retrieve-the-campaign-id-and-use-it-in-email-template-sent-to-user/14388 "2020-05-19T00:46:05Z")

</div>

Hi Team, I have created a email template and want to send the campaign id in the email sent to the user. How should I be able to do that. Thanks, Diptee

---

## [Issue 'mautic.NOTICE: RuntimeException: Failed to start the session because headers'](https://forum.mautic.org/t/issue-mautic-notice-runtimeexception-failed-to-start-the-session-because-headers/14254)

<div class="topic-metadata">

**Author:** [@alexeimolina](https://forum.mautic.org/u/alexeimolina)\
**Replies:** 0\
**Last updated:** [May 10, 2020, 1:26am UTC](https://forum.mautic.org/t/issue-mautic-notice-runtimeexception-failed-to-start-the-session-because-headers/14254 "2020-05-10T01:26:04Z")

</div>

\[2020-05-10 00:30:04\] mautic.NOTICE: RuntimeException: Failed to start the session because headers have already been sent by “/var/www/html/plugins/HelloWorldBundle/HelloWorldBundle.php” at line 31. (uncaught exception…

---

## [Plugin creation with DefaultController.php](https://forum.mautic.org/t/plugin-creation-with-defaultcontroller-php/14216)

<div class="topic-metadata">

**Author:** [@alexeimolina](https://forum.mautic.org/u/alexeimolina)\
**Replies:** 0\
**Last updated:** [May 6, 2020, 7:13pm UTC](https://forum.mautic.org/t/plugin-creation-with-defaultcontroller-php/14216 "2020-05-06T19:13:05Z")

</div>

Hi everyone, I’m trying to create a plugin, but I’m confused about the files that should go in into plugins/HelloWorldBundle/Controller/DefaultController.php I’m follow this documentation https://developer.mautic.org/#…

---

## [Documentation about mautic 2.16.2?](https://forum.mautic.org/t/documentation-about-mautic-2-16-2/14212)

<div class="topic-metadata">

**Author:** [@alexeimolina](https://forum.mautic.org/u/alexeimolina)\
**Replies:** 1\
**Last updated:** [May 6, 2020, 3:50pm UTC](https://forum.mautic.org/t/documentation-about-mautic-2-16-2/14212 "2020-05-06T15:50:37Z")

</div>

hey everyone, I’m not really sure if this is the right documentation to the version 2.16.2 https://developer.mautic.org/

---

## [How to test if my plugins works?](https://forum.mautic.org/t/how-to-test-if-my-plugins-works/14197)

<div class="topic-metadata">

**Author:** [@alexeimolina](https://forum.mautic.org/u/alexeimolina)\
**Replies:** 1\
**Last updated:** [May 5, 2020, 11:44pm UTC](https://forum.mautic.org/t/how-to-test-if-my-plugins-works/14197 "2020-05-05T23:44:37Z")

</div>

Hey everyone, I’m trying to do my own plugin, but I’m not really sure how to test it; I did follow the steps on mautic documentations, and as far as I understand I need this structure (at least) HelloWorldBundle/ C…

---

## [Authenticate Mautic WebHook Calls](https://forum.mautic.org/t/authenticate-mautic-webhook-calls/14018)

<div class="topic-metadata">

**Author:** [@akhilrawat001](https://forum.mautic.org/u/akhilrawat001)\
**Replies:** 0\
**Last updated:** [April 23, 2020, 9:40am UTC](https://forum.mautic.org/t/authenticate-mautic-webhook-calls/14018 "2020-04-23T09:40:08Z")

</div>

Hi, I would like to know is there is way to authenticate mautic webhook calls. If there is can someone please help me out.

---

## [Little Helper Custom Plugin that creates a new custom field](https://forum.mautic.org/t/little-helper-custom-plugin-that-creates-a-new-custom-field/14005)

<div class="topic-metadata">

**Author:** [@alexhammer](https://forum.mautic.org/u/alexhammer)\
**Replies:** 0\
**Last updated:** [April 22, 2020, 9:04am UTC](https://forum.mautic.org/t/little-helper-custom-plugin-that-creates-a-new-custom-field/14005 "2020-04-22T09:04:01Z")

</div>

Hi guys, To start coding in Mautic for myself, I want to make a small custom plugin. It should do: Fetching the value of two custom fields after form submission and putting the data together into one new custom field. …

---

## [Mautic Roadmap Discussion](https://forum.mautic.org/t/mautic-roadmap-discussion/13760)

<div class="topic-metadata">

**Author:** [@dbhurley](https://forum.mautic.org/u/dbhurley)\
**Replies:** 11\
**Last updated:** [April 22, 2020, 7:50am UTC](https://forum.mautic.org/t/mautic-roadmap-discussion/13760 "2020-04-22T07:50:50Z")

</div>

In regards to the Mautic 3 series, the product team has begun identifying and creating a plan around the set of features and functionality we’d like to add or improve in the Mautic product over the next 12 months. Our go…

---

## [The uploaded file was too large. Please try to upload a smaller file](https://forum.mautic.org/t/the-uploaded-file-was-too-large-please-try-to-upload-a-smaller-file/13988)

<div class="topic-metadata">

**Author:** [@akhilrawat001](https://forum.mautic.org/u/akhilrawat001)\
**Replies:** 0\
**Last updated:** [April 21, 2020, 6:50am UTC](https://forum.mautic.org/t/the-uploaded-file-was-too-large-please-try-to-upload-a-smaller-file/13988 "2020-04-21T06:50:07Z")

</div>

Hi, I want to upload a contacts CSV of 20MBs how do I do that. When I upload it I get the error mentioned in the title.

---

## [Is it possible to send campaigns details along with the email events](https://forum.mautic.org/t/is-it-possible-to-send-campaigns-details-along-with-the-email-events/13986)

<div class="topic-metadata">

**Author:** [@pratikjn](https://forum.mautic.org/u/pratikjn)\
**Replies:** 0\
**Last updated:** [April 21, 2020, 6:01am UTC](https://forum.mautic.org/t/is-it-possible-to-send-campaigns-details-along-with-the-email-events/13986 "2020-04-21T06:01:52Z")

</div>

@silavapi I am trying to extract the campaign details like campaign Id , name when the campaign events got executed like email open, page hit… etc ? is there any possible way to extract ? And I want to send these data …

---

## [Campaing's "Send email to user" action, loose setup (email to and email template) details after database string replace](https://forum.mautic.org/t/campaings-send-email-to-user-action-loose-setup-email-to-and-email-template-details-after-database-string-replace/13900)

<div class="topic-metadata">

**Author:** [@acremonezi](https://forum.mautic.org/u/acremonezi)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 2:35am UTC](https://forum.mautic.org/t/campaings-send-email-to-user-action-loose-setup-email-to-and-email-template-details-after-database-string-replace/13900 "2020-04-15T02:35:56Z")

</div>

My Mautic version is: 2.16.1 My PHP version is: 7.0.33-0+deb9u6 Steps to reprocude the issue: 1 - I have replaced a string inside the campaign\_events.properties table as bellow. UPDATE campaign\_events SET propertie…

---

## [Form Submission Filters from API](https://forum.mautic.org/t/form-submission-filters-from-api/13894)

<div class="topic-metadata">

**Author:** [@aidgl](https://forum.mautic.org/u/aidgl)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 8:38am UTC](https://forum.mautic.org/t/form-submission-filters-from-api/13894 "2020-04-14T08:38:42Z")

</div>

I can’t filter via API the form submission. I tryed filters like: \[mauticURL\]/api/forms/\[formId\]/submissions?search=“form\_field:value” --\> Returns all results \[mauticURL\]/api/forms/\[formId\]/submissions?search=“lead\_fi…

---

## [How to include a text file into Mautic base template](https://forum.mautic.org/t/how-to-include-a-text-file-into-mautic-base-template/13884)

<div class="topic-metadata">

**Author:** [@acremonezi](https://forum.mautic.org/u/acremonezi)\
**Replies:** 0\
**Last updated:** [April 13, 2020, 7:17pm UTC](https://forum.mautic.org/t/how-to-include-a-text-file-into-mautic-base-template/13884 "2020-04-13T19:17:07Z")

</div>

My Mautic version is: 2.16.1 My PHP version is: 7.0.33-0+deb9u6 My Issue: I have a simple file body.html with text content where I placed at https://mydomain.com/body.html I want to include their content in betweee…

[Previous page](https://forum.mautic.org/c/development/9.md?page=9)

[Next page](https://forum.mautic.org/c/development/9.md?page=11)
