FileHandler in OneDrive availibleOn.allowMultiSelect does not seem to work
Hello,
I am trying to develop a plugin for OneDrive and for it to work properly it needs to be able to be called with multiple files selected.
My addIn section of the Application registration manifest
“addIns”: [
{
“id”: “d0af6c7f-1cd0-4843-93fe-578801c56db5”,
“type”: “FileHandler”,
“properties”: [
{
“key”: “version”,
“value”: “2”
},
{
“key”: “fileTypeDisplayName”,
“value”: “digidoc”
},
{
“key”: “appIcon”,
“value”: “{“svg”:null,”png1x”:”<censored>”,”png1.5x”:”<censored>”,”png2x”:”<censored>”}”
},
{
“key”: “fileTypeIcon”,
“value”: “{“svg”:null,”png1x”:”<censored>”,”png1.5x”:”<censored>”,”png2x”:”<censored>”}”
},
{
“key”: “actions”,
“value”: “[{“type”:”custom”,”url”:”<censored>”,”availableOn”:{“file”:{“extensions”:[“*”]},”web”:{},”allowMultiSelect”:true},”displayName”:”Sign file(s)”,”shortDisplayName”:”Sign”,”icon”:{“png1x”:”<censored>”}},{“type”:”custom”,”url”:”<censored>”,”availableOn”:{“file”:{“extensions”:[“*”]},”web”:{},”allowMultiSelect”:true},”displayName”:”Send file(s) for signing”,”shortDisplayName”:”Send for signing”,”icon”:{“png1x”:”<censored>”}},{“type”:”open”,”url”:”<censored>”,”availableOn”:{“file”:{“extensions”:[“.asice”]},”web”:{}}}]”
}
]
}
]
My problem is that while custom actions have allowMultiSelect set to true in OneDrive environment I can not select more than 1 file and call my plugin out.
One file selected custom FileHandler actions are present
Multiple files selected custom FileHandler actions are nowhere to be found
With that I have a question, how can I select multiple files and call out my plugin?
I am facing also a problem where custom actions appear with plugin name, but as this already was reported (
) I will not talk a lot about that in this post.
Hello, I am trying to develop a plugin for OneDrive and for it to work properly it needs to be able to be called with multiple files selected. My addIn section of the Application registration manifest “addIns”: [
{
“id”: “d0af6c7f-1cd0-4843-93fe-578801c56db5”,
“type”: “FileHandler”,
“properties”: [
{
“key”: “version”,
“value”: “2”
},
{
“key”: “fileTypeDisplayName”,
“value”: “digidoc”
},
{
“key”: “appIcon”,
“value”: “{“svg”:null,”png1x”:”<censored>”,”png1.5x”:”<censored>”,”png2x”:”<censored>”}”
},
{
“key”: “fileTypeIcon”,
“value”: “{“svg”:null,”png1x”:”<censored>”,”png1.5x”:”<censored>”,”png2x”:”<censored>”}”
},
{
“key”: “actions”,
“value”: “[{“type”:”custom”,”url”:”<censored>”,”availableOn”:{“file”:{“extensions”:[“*”]},”web”:{},”allowMultiSelect”:true},”displayName”:”Sign file(s)”,”shortDisplayName”:”Sign”,”icon”:{“png1x”:”<censored>”}},{“type”:”custom”,”url”:”<censored>”,”availableOn”:{“file”:{“extensions”:[“*”]},”web”:{},”allowMultiSelect”:true},”displayName”:”Send file(s) for signing”,”shortDisplayName”:”Send for signing”,”icon”:{“png1x”:”<censored>”}},{“type”:”open”,”url”:”<censored>”,”availableOn”:{“file”:{“extensions”:[“.asice”]},”web”:{}}}]”
}
]
}
] My problem is that while custom actions have allowMultiSelect set to true in OneDrive environment I can not select more than 1 file and call my plugin out. One file selected custom FileHandler actions are present Multiple files selected custom FileHandler actions are nowhere to be found With that I have a question, how can I select multiple files and call out my plugin? I am facing also a problem where custom actions appear with plugin name, but as this already was reported (https://techcommunity.microsoft.com/t5/onedrive-developer/filehandler-in-the-onedrive-context-menu-in-quot-my-files-quot/m-p/4169500) I will not talk a lot about that in this post. Read More