Cloud Computing Insider Awards 2022: Vote for ONLYOFFICE
Vote for ONLYOFFICE

How to set options for drop down lists

Hi, everyone

I encountered a problem when developing plug-ins.

In the plug-in drop down lists content control, I use GetCurrentContentControlPr to get its properties.

Now how to set its selection

window.Asc.plugin.executeMethod("SelectContentControl", [InternalId], () => {
          window.Asc.plugin.executeMethod("GetCurrentContentControlPr", [], function (obj) {
             // Now how to set its selection
          })
        })

Hello @fuxiaoyun
Sorry, there’re no such methods at the moment.
We have checked described situation and we added a suggestion to internal tracksystem (internal number - 57970). We have started working on it.
Unfortunately I cannot provide you with exact timeframes of such methods release at the moment.
By the way, as far as I understand, you have commercial license. It’s better to contact us via Zendesk to get prompt replies.