Open marcelimati opened 1 year ago
We have experienced exactly the same behavior. The event-based instances are not active sometimes when we compose a message. We expect that the OnNewMessageCompose for example will always be triggered when we compose a new message. But this is not the case right now. This random behavior might cause issues in our application. Could you please have a look?
I've noticed that the JS code referenced in
Is there some estimate of fixing this bug, or some workaround to make it working?
I've noticed that sometimes on adding emails to or cc or bcc the OnMessageRecipientsChanged is not getting triggered . A similar thing happens when a new message is composed then OnMessageCompose is also not triggered.
Similar issue with OnMessageSend in classic Outlook for Windows. It doesn't invoke that smart alert handler. Only OnNewCompose and RecipientsChanged gets hit.
Are there any updates on this?
I am really expecting some resolution for this issue soon. It is completely blocking my workflow
I followed a tutorial from: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest
Generated files using office yo generator with command: yo office.
Then added launchevent.js file like in the tutorial and I didn't change anything in this file to check if it works. When running in development enviroment or production effect was the same. Sometimes when starting outlook event was normally firing, but when it not happend, no matter what I did, it never fired again. Closing outlook, reinstalling addin, removing cache, nothing helped. I even tried making new project with the same code just other guid and it worked initially and when i changed literally 1 line - for example: console.log(event) it stopped working. I think it's something related to cache but it's hard to know what really is an issue. Then I proceed to remove cache like 10-20 times. At some point it worked, but then when I reopened Outlook it stopped working again. It's so frustrating, code compiles and it works but event is randomly working or not (Mostly not) What should I do, is the code generated by office yo outdated or? When I added new event: OnMessageRecipientsChanged no event was firing, the initial two and third one.
Your Environment
Expected behavior
Event should fire always
Current behavior
Addin sideloaded from manifest.xml doesn't always fire outlook events
Steps to reproduce
file .src/launchevent/launchevent.js
<script type="text/javascript" src="../launchevent/launchevent.js"></script>
before</head>
tagIt should work when created at the first time, but adding new event or changing something and re-installing addin prevents event from firing for example:
Contents of manifest.xml
Link to live example(s)
Provide additional details
Context
I tried this on 3 different devices with same outlook version, problem was the same.
Useful logs
content of log.txt
Log can contain all my tries installing different addins hoping that it could resolve my issue but it still happens.