Is there a Trigger when a new person is created by the Outlook Plugin?

Hi everyone,

as mentioned in the Titel i am wondering if there is a Trigger for the Event that a new Person is created thru the Outlook Plugin.
In my case an "after saving contact" Trigger triggers a small Script which adds the saved contact some Details,
the Trigger is working fine when the SuperOffice Web Interface is used,
but doesn't get triggered by the Outlook-Plugin.
Is there a way around this problem or is there a different Trigger i should use?

RE: Is there a Trigger when a new person is created by the Outlook Plugin?

I haven't tried it via Outlook myself, but I'm pretty sure you could make a Webhook (instead of using a trigger) with the "person.created" event, that then runs a CRMScript. So I would look into that.

https://community.superoffice.com/no/content/content/netserver-sdk/netserver-8.x/superoffice-webhooks/

Av: Espen Steen 27. okt 2020

RE: Is there a Trigger when a new person is created by the Outlook Plugin?

Hi Phillip!

Triggers only run in the context between then web clients and trigger handlers.

Espen is correct, you have to use webhooks in this case. Webhooks will work no matter where the change comes from, i.e. web client, sales client, mobile app, 3rd party application.

There is good news here too! In SuperOffice 9.2, avaiable now in online, you can now create webhooks (of type CrmScript) that specify the includeId (instead of the TargetUrl) and when the subscribed event is raised that script will be executed. 

Sorry, we haven't had time to document it yet, but will get on that right away!

Best regards

 

Av: Tony Yates 27. okt 2020

RE: Is there a Trigger when a new person is created by the Outlook Plugin?

Hello Espen and Tony,

I thank you both for the quick and helpful answers.
I am relieved that it was not an error in the trigger, but rather the fact that the trigger is not built for this task.
The tip with the webhook looks very promising, I will look into it.

Best regards

Av: Philipp Stark 27. okt 2020

RE: Is there a Trigger when a new person is created by the Outlook Plugin?

Will you tell us when this documentation is available, please ?

Av: Inge Simon Thorbjørnsen 27. okt 2020

RE: Is there a Trigger when a new person is created by the Outlook Plugin?

OK, CRMScript Webhook documentation has been published.

Hope this helps!

Av: Tony Yates 27. okt 2020

RE: Is there a Trigger when a new person is created by the Outlook Plugin?

Thanks

Av: Inge Simon Thorbjørnsen 27. okt 2020