# Development

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

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

**Page:** 9

---

## [Single Mautic Fileset with Multiple Instances SaaS](https://forum.mautic.org/t/single-mautic-fileset-with-multiple-instances-saas/7172)

<div class="topic-metadata">

**Author:** [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Replies:** 3\
**Last updated:** [June 11, 2021, 2:45am UTC](https://forum.mautic.org/t/single-mautic-fileset-with-multiple-instances-saas/7172 "2021-06-11T02:45:17Z")

</div>

At the moment I have multiple systems installed with one system for each client. Essentially, I’d like to have one file set but multiple databases, I’m assuming creating a new config file per logged in user would lo…

---

## [Mautic as SaaS](https://forum.mautic.org/t/mautic-as-saas/4059)

<div class="topic-metadata">

**Author:** [@ffsandi](https://forum.mautic.org/u/ffsandi)\
**Replies:** 6\
**Last updated:** [June 11, 2021, 2:21am UTC](https://forum.mautic.org/t/mautic-as-saas/4059 "2021-06-11T02:21:08Z")

</div>

Hi @dbhurley , my name is Sandi i’m from Indonesia When i found Mautic, this is blowing my mind. A software similar like Infusion Soft for free, what an amazing software you build guys. Then i would like to …

---

## [Multi Tenant Mautic](https://forum.mautic.org/t/multi-tenant-mautic/10525)

<div class="topic-metadata">

**Author:** [@vamsi](https://forum.mautic.org/u/vamsi)\
**Replies:** 10\
**Last updated:** [June 11, 2021, 1:48am UTC](https://forum.mautic.org/t/multi-tenant-mautic/10525 "2021-06-11T01:48:54Z")

</div>

Hello guys. I had converted Mautic into multi tenant application. Now each and every user has their own database. When a user navigates to the application, based on the url, he will be connected to his database. Afte…

---

## [Has the event ON\_CAMPAIGN\_TRIGGER\_ACTION been deprecated along with CampaignExecutionEvent?](https://forum.mautic.org/t/has-the-event-on-campaign-trigger-action-been-deprecated-along-with-campaignexecutionevent/19773)

<div class="topic-metadata">

**Author:** [@asemk](https://forum.mautic.org/u/asemk)\
**Replies:** 1\
**Last updated:** [June 8, 2021, 11:12am UTC](https://forum.mautic.org/t/has-the-event-on-campaign-trigger-action-been-deprecated-along-with-campaignexecutionevent/19773 "2021-06-08T11:12:58Z")

</div>

Hey guys, I want to consume PendingEvent instead of CampaignExecutionEvent in a plugin which I’m developing now ( when triggering a campaign via the command mautic campaigns:trigger. When I looked into PendingEvent I n…

---

## [Auto closing reported bugs](https://forum.mautic.org/t/auto-closing-reported-bugs/19692)

<div class="topic-metadata">

**Author:** [@da644](https://forum.mautic.org/u/da644)\
**Replies:** 2\
**Last updated:** [June 1, 2021, 3:05pm UTC](https://forum.mautic.org/t/auto-closing-reported-bugs/19692 "2021-06-01T15:05:13Z")

</div>

Please do not take this as a criticism, I’m just trying to understand the thinking here. Since we started using Mautic about 6 months ago I’ve reported a few “bugs” to the projects Github issue tracker and all these hav…

---

## [Is it possible to add new menu items/pages/view within the Mautic UI?](https://forum.mautic.org/t/is-it-possible-to-add-new-menu-items-pages-view-within-the-mautic-ui/19664)

<div class="topic-metadata">

**Author:** [@simonjparker](https://forum.mautic.org/u/simonjparker)\
**Replies:** 1\
**Last updated:** [May 31, 2021, 10:48am UTC](https://forum.mautic.org/t/is-it-possible-to-add-new-menu-items-pages-view-within-the-mautic-ui/19664 "2021-05-31T10:48:02Z")

</div>

We are looking at developing a plugin for Mautic that has it’s own dashboard. I’ve been trying to identify if plugins can create their own views within the Mautic UI, and add a new menu item to the sidebar. I’m searchin…

---

## [Extend User Entity](https://forum.mautic.org/t/extend-user-entity/15358)

<div class="topic-metadata">

**Author:** [@Mautist](https://forum.mautic.org/u/Mautist)\
**Replies:** 2\
**Last updated:** [May 19, 2021, 7:17am UTC](https://forum.mautic.org/t/extend-user-entity/15358 "2021-05-19T07:17:23Z")

</div>

Hi guys, I try to extend the User Entity to override the getId() function. If i validate the doctrine:schema i get the following exception.

---

## [Add operator to segment filters](https://forum.mautic.org/t/add-operator-to-segment-filters/19404)

<div class="topic-metadata">

**Author:** [@Cezar](https://forum.mautic.org/u/Cezar)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 11:50am UTC](https://forum.mautic.org/t/add-operator-to-segment-filters/19404 "2021-05-10T11:50:05Z")

</div>

Hi, I’m trying to add a new operator to the segments filter. But the event LeadEvents::LIST\_FILTERS\_OPERATORS\_ON\_GENERATE is not triggered no matter what I do. Does anyone know what triggers the above event?

---

## [Infinite onPostSave Loop](https://forum.mautic.org/t/infinite-onpostsave-loop/13131)

<div class="topic-metadata">

**Author:** [@Mautist](https://forum.mautic.org/u/Mautist)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 11:47am UTC](https://forum.mautic.org/t/infinite-onpostsave-loop/13131 "2021-05-10T11:47:33Z")

</div>

Hi all =) Is it possible in an “onLeadPostSave”, where i update several Lead fields and save that lead entity, to prevent fire that function again? It causes an infinite loop.

---

## [How to register if a specific contact visits a page? And how to validate if they performed a certain action?](https://forum.mautic.org/t/how-to-register-if-a-specific-contact-visits-a-page-and-how-to-validate-if-they-performed-a-certain-action/19353)

<div class="topic-metadata">

**Author:** [@jelga12](https://forum.mautic.org/u/jelga12)\
**Replies:** 3\
**Last updated:** [May 6, 2021, 11:22am UTC](https://forum.mautic.org/t/how-to-register-if-a-specific-contact-visits-a-page-and-how-to-validate-if-they-performed-a-certain-action/19353 "2021-05-06T11:22:02Z")

</div>

Greetings! I have the following situation: I’ve registered in Mautic a number X of contacts via API from my main website, all those contacts have basic info including their name and id (I do not have their IPs). Now, I…

---

## [Mautic 3 - c# authentication issue: The client credentials are invalid](https://forum.mautic.org/t/mautic-3-c-authentication-issue-the-client-credentials-are-invalid/19189)

<div class="topic-metadata">

**Author:** [@nimeshvaghasiya](https://forum.mautic.org/u/nimeshvaghasiya)\
**Replies:** 0\
**Last updated:** [April 26, 2021, 5:02pm UTC](https://forum.mautic.org/t/mautic-3-c-authentication-issue-the-client-credentials-are-invalid/19189 "2021-04-26T17:02:40Z")

</div>

Anybody work on Mautic api with c# or asp.net core? I’m checking it on localhost for Mautic production one. I got below error even I have pass correct credentials. I have checked with both Get/Post requests. It throws: …

---

## [How to connnect to multiple database](https://forum.mautic.org/t/how-to-connnect-to-multiple-database/19174)

<div class="topic-metadata">

**Author:** [@neversuspend](https://forum.mautic.org/u/neversuspend)\
**Replies:** 0\
**Last updated:** [April 25, 2021, 2:38pm UTC](https://forum.mautic.org/t/how-to-connnect-to-multiple-database/19174 "2021-04-25T14:38:08Z")

</div>

I want plugin to connect to other database rather than mautic default database. How can I achieve it ？ I have modified the app/config/config.php file as below. It does not work. \> $container-\>loadFromExtension('doctri…

---

## [How to set form submission date with API?](https://forum.mautic.org/t/how-to-set-form-submission-date-with-api/19130)

<div class="topic-metadata">

**Author:** [@neversuspend](https://forum.mautic.org/u/neversuspend)\
**Replies:** 2\
**Last updated:** [April 22, 2021, 11:34am UTC](https://forum.mautic.org/t/how-to-set-form-submission-date-with-api/19130 "2021-04-22T11:34:44Z")

</div>

I have successfully submitted form through Escopecz\\MauticFormSubmit\\Mautic （https://github.com/escopecz/mautic-form-submit） However the event\_timestamp is generated by mautic system automatically. Can I manually set i…

---

## [Which Event to use instead of CampaignExecutionEvent in Mautic 3 plugins?](https://forum.mautic.org/t/which-event-to-use-instead-of-campaignexecutionevent-in-mautic-3-plugins/18614)

<div class="topic-metadata">

**Author:** [@mayanktiwaridotcom](https://forum.mautic.org/u/mayanktiwaridotcom)\
**Replies:** 1\
**Last updated:** [April 20, 2021, 10:53pm UTC](https://forum.mautic.org/t/which-event-to-use-instead-of-campaignexecutionevent-in-mautic-3-plugins/18614 "2021-04-20T22:53:23Z")

</div>

I am working on a custom plugin where I need to create some custom campaign actions, I was checking upgrade document and see that campaign Execution Event is removed, however what should be used instead is not to be fo…

---

## [Create Asset REST API](https://forum.mautic.org/t/create-asset-rest-api/19091)

<div class="topic-metadata">

**Author:** [@trupti](https://forum.mautic.org/u/trupti)\
**Replies:** 0\
**Last updated:** [April 20, 2021, 11:56am UTC](https://forum.mautic.org/t/create-asset-rest-api/19091 "2021-04-20T11:56:40Z")

</div>

For creating assets I am referring https://developer.mautic.org/#create-asset if storageLocation is local I need to ask what value I can add in file parameter? I attach with this postman collection json. Http request:…

---

## [Email report to include country from where email was oepned?](https://forum.mautic.org/t/email-report-to-include-country-from-where-email-was-oepned/19034)

<div class="topic-metadata">

**Author:** [@infotechmin](https://forum.mautic.org/u/infotechmin)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 5:54pm UTC](https://forum.mautic.org/t/email-report-to-include-country-from-where-email-was-oepned/19034 "2021-04-15T17:54:54Z")

</div>

Does Mautic provide a way to create report that includes the country name from where the email was opened. This is a generic feature in pretty much most Campaign service providers like Mailchimp and I would assume that i…

---

## [Documentation on campaign decision outdated? If so, How to trigger a decision from a custom API endpoint?](https://forum.mautic.org/t/documentation-on-campaign-decision-outdated-if-so-how-to-trigger-a-decision-from-a-custom-api-endpoint/18789)

<div class="topic-metadata">

**Author:** [@danielhilst](https://forum.mautic.org/u/danielhilst)\
**Replies:** 2\
**Last updated:** [April 2, 2021, 3:28pm UTC](https://forum.mautic.org/t/documentation-on-campaign-decision-outdated-if-so-how-to-trigger-a-decision-from-a-custom-api-endpoint/18789 "2021-04-02T15:28:56Z")

</div>

Hi everybody! I’m writing a decision plugin and facing undefined method error for CampaignModel.triggerEvent, Here is the relevant documentation section: https://developer.mautic.org/?php#extending-campaigns The sect…

---

## [Pushing data from Mautic to Other external APIs](https://forum.mautic.org/t/pushing-data-from-mautic-to-other-external-apis/16709)

<div class="topic-metadata">

**Author:** [@ithrees](https://forum.mautic.org/u/ithrees)\
**Replies:** 3\
**Last updated:** [March 31, 2021, 3:18pm UTC](https://forum.mautic.org/t/pushing-data-from-mautic-to-other-external-apis/16709 "2021-03-31T15:18:04Z")

</div>

Dears, I’m very new to Mautic and we started to using it recently. We came across with a requirement to push contact data (on specific cases) to a sales pipeline system in cloud which has it’s on APIs deployed. As we …

---

## [Mautic rest APIs](https://forum.mautic.org/t/mautic-rest-apis/14805)

<div class="topic-metadata">

**Author:** [@mutagatifu](https://forum.mautic.org/u/mutagatifu)\
**Replies:** 1\
**Last updated:** [March 31, 2021, 3:10pm UTC](https://forum.mautic.org/t/mautic-rest-apis/14805 "2021-03-31T15:10:39Z")

</div>

i am using mautic apis but the one to edit the contact does not work, and when sending PUT request it erase all data .if anyone could help, would be happy thx

---

## [{contactfield=firstname}‍ this is not working](https://forum.mautic.org/t/contactfield-firstname-this-is-not-working/17375)

<div class="topic-metadata">

**Author:** [@amitsah](https://forum.mautic.org/u/amitsah)\
**Replies:** 1\
**Last updated:** [March 31, 2021, 3:05pm UTC](https://forum.mautic.org/t/contactfield-firstname-this-is-not-working/17375 "2021-03-31T15:05:58Z")

</div>

while creating my own email when i am selecting anything from insert tokan that is not coming like if i have selected {contactfield=firstname} than after preview it is showing \[First Name\]. please help if any one fac…

---

## [Mautic plugin development cache problem](https://forum.mautic.org/t/mautic-plugin-development-cache-problem/17906)

<div class="topic-metadata">

**Author:** [@viratraaz](https://forum.mautic.org/u/viratraaz)\
**Replies:** 1\
**Last updated:** [March 31, 2021, 3:02pm UTC](https://forum.mautic.org/t/mautic-plugin-development-cache-problem/17906 "2021-03-31T15:02:24Z")

</div>

Hi everybody I’m trying to develop a Mautic plugin. I could make Example-plugin work, but for every code change I need to clean the cache and it take some minutes to recreate it again. Mautic is already running “in dev…

---

## [How can I see the contact log, debuging it?](https://forum.mautic.org/t/how-can-i-see-the-contact-log-debuging-it/18547)

<div class="topic-metadata">

**Author:** [@viniciusvicente](https://forum.mautic.org/u/viniciusvicente)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 4:42pm UTC](https://forum.mautic.org/t/how-can-i-see-the-contact-log-debuging-it/18547 "2021-03-12T16:42:01Z")

</div>

I’m getting some errors like 404, 401 and 410 during the campaign I would like to debug the code to see what is happening that is causing the errors. Does anyone knows how I do that? Thank you

---

## [Interactive Drawing Canvas Embedded on Mautic Site](https://forum.mautic.org/t/interactive-drawing-canvas-embedded-on-mautic-site/18457)

<div class="topic-metadata">

**Author:** [@anon52337684](https://forum.mautic.org/u/anon52337684)\
**Replies:** 3\
**Last updated:** [March 6, 2021, 7:58pm UTC](https://forum.mautic.org/t/interactive-drawing-canvas-embedded-on-mautic-site/18457 "2021-03-06T19:58:13Z")

</div>

How can an interactive canvas be implemented on a Mautic site with ability for users to draw on it and save drawings to their computer?

---

## [Activity description text in campaigns](https://forum.mautic.org/t/activity-description-text-in-campaigns/18274)

<div class="topic-metadata">

**Author:** [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Replies:** 2\
**Last updated:** [February 23, 2021, 3:59pm UTC](https://forum.mautic.org/t/activity-description-text-in-campaigns/18274 "2021-02-23T15:59:47Z")

</div>

Hi everyone, I am making a plugin that adds a new campaign action called “send email to sponsor” I am unable to find the right place to add/change the descriptive text for the action. If anyone could point me in the r…

---

## [Authorization failed with the error message, 'Array'](https://forum.mautic.org/t/authorization-failed-with-the-error-message-array/10696)

<div class="topic-metadata">

**Author:** [@bbbart](https://forum.mautic.org/u/bbbart)\
**Replies:** 4\
**Last updated:** [February 20, 2021, 6:06pm UTC](https://forum.mautic.org/t/authorization-failed-with-the-error-message-array/10696 "2021-02-20T18:06:39Z")

</div>

Hi! when trying to authorize an Instagram Client for the Instagram Plugin, the popup gives me the not so helpful message: Authorization failed with the error message, 'Array'. In the web server logs I additionally find…

---

## [Extending form JavaScript](https://forum.mautic.org/t/extending-form-javascript/18110)

<div class="topic-metadata">

**Author:** [@a.bell](https://forum.mautic.org/u/a.bell)\
**Replies:** 0\
**Last updated:** [February 10, 2021, 12:12pm UTC](https://forum.mautic.org/t/extending-form-javascript/18110 "2021-02-10T12:12:18Z")

</div>

Does anyone know if it’s possible to add to or customise JavaScript which runs when a form is submitted, preferably via a plugin or a theme? I’m not trying to make any big changes, just add / remove css classes once a f…

---

## [Multiple inbox plugin](https://forum.mautic.org/t/multiple-inbox-plugin/7896)

<div class="topic-metadata">

**Author:** [@kiwii](https://forum.mautic.org/u/kiwii)\
**Replies:** 3\
**Last updated:** [January 26, 2021, 1:46pm UTC](https://forum.mautic.org/t/multiple-inbox-plugin/7896 "2021-01-26T13:46:14Z")

</div>

In reference to https://www.mautic.org/community/index.php/756-multiple-monitored-inboxes Here is the plugin that will fetch emails from emails accounts from specific users. https://we.tl/P4Cg8dLgu8 It will cre…

---

## [Error too many redirects after Deleting app/cache Directory](https://forum.mautic.org/t/error-too-many-redirects-after-deleting-app-cache-directory/8439)

<div class="topic-metadata">

**Author:** [@faizan](https://forum.mautic.org/u/faizan)\
**Replies:** 8\
**Last updated:** [January 25, 2021, 12:13pm UTC](https://forum.mautic.org/t/error-too-many-redirects-after-deleting-app-cache-directory/8439 "2021-01-25T12:13:49Z")

</div>

Error too many redirects after Deleting app/cache Directory I have changed my mautic to SSL from Configuration by changing URL to https, and Changed Set-Cookie to Force SSL Please Help

---

## [Send events to contacts](https://forum.mautic.org/t/send-events-to-contacts/16905)

<div class="topic-metadata">

**Author:** [@programwar](https://forum.mautic.org/u/programwar)\
**Replies:** 4\
**Last updated:** [January 25, 2021, 12:06pm UTC](https://forum.mautic.org/t/send-events-to-contacts/16905 "2021-01-25T12:06:36Z")

</div>

Hi, I’m trying to send events to existing contacts and tack if they have performed some specific action. These actions could be sent by two ways: In front-end using mtc.js (or this I understand :slight\_smile:) From Ba…

---

## [Strange Email click tracking count problem](https://forum.mautic.org/t/strange-email-click-tracking-count-problem/17884)

<div class="topic-metadata">

**Author:** [@gecko](https://forum.mautic.org/u/gecko)\
**Replies:** 0\
**Last updated:** [January 22, 2021, 3:31am UTC](https://forum.mautic.org/t/strange-email-click-tracking-count-problem/17884 "2021-01-22T03:31:44Z")

</div>

Mautic version: 2.16.2 Hi, When we create a plain text email and include multiple links to our server, we’ve noticed that the total click counts far exceed the unique click counts. Upon further investigation, some cont…

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

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