Dynamically Populating Ribbon Flyout Menu in Unified Interface
My previous post Dynamically Populating Ribbon Flyout Menu describes the way to add flyout menu buttons dynamically, but that was limited to web client and was not working in unified Interface. As per my R&D and support ticket with Microsoft, we are still not able to add dynamic Flyout menu buttons directly in Unified Interface (UCI). The issue is due to the dynamic buttons don't detect the command that we were adding through our JS code, so we need to attach that command to a hidden button so that internally the command is visible. Following are the two steps we need to achieve the dynamic flyout in both Web client and unified interface. These steps are actually a continuation of my previous post . Step#1 : Adding a button, where you need to call the command that we have used for dynamic buttons. Add a flyout button and make it hidden. Add a menu section and then add a button, and call the command here. Step#2 : We need to update the JS code, i.e to append...