Hello,
we're using on premise CRM version 1612 (8.2.2.112) where we developed new functionality that contains button on account ribbon which opens devExtreme form. User enters data on this form and clicks submit button that executes global action that is related to our custom plugin.
At this point our problem begins, because CRM executes action twice and I can't figure out why. I've already debug javascript and found out that the function which executes XMLHttpRequest to trigger our action is called only once. But when I take a look at IIS or Fiddler logs (or remote debug plugin) it looks action execution is sometimes duplicated. Firstly I thought the first request is preflight request but it doesn't contain OPTIONS in header.
The problem is that one of these request is denied with 401 error code and a credentials popup is opened in CRM. Also duplicated records are created because of duplicated execution.
Any ideas how to resolve this weird glitch?
Best Regards,
Matej

Report
All responses (
Answers (