问题
Is there a way to display dynamic content in a ribbon dropdown menu with Add-in Commands? I think this is not achievable at the time of the writing. In addition, if the items themselves cannot be dynamic is it possible to have at least dynamic strings for the displayed labels.
See
Edit: I have created a UserVoice feature request for this here
Note: this question is only for the new generation of web add-ins (office.js) not VSTO.
回答1:
This is not currently supported but It's on our plan. Thanks for being creative with our new features :)
来源:https://stackoverflow.com/questions/36315571/dynamic-content-in-add-in-command-with-ribbon-dropdown-menu