Good day community, lately I have been trying to implement above function into our CRM 365 on-Premises (v8.2).
Here is what I did: