Excel Add-in online - function wizard function arguments broken #4419
Labels
Area: custom functions
Issue related to the Excel custom functions feature
Area: Excel
Issue related to Excel add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
Type: product bug
Bug in the Office Add-ins platform or Office JavaScript APIs
I have just started trying to create my own Excel Add-in with custom functions.
When using local Excel on Windows 10, the functions work fine.
When using Excel Online, the function wizard is broken and only shows the first argument twice (with a sequence number).
Can be reproduced by uploading the sample manifest.xml as referenced by https://learn.microsoft.com/en-us/office/dev/add-ins/excel/custom-functions-overview with function GETKEYVALUEFORKEYCF which contains one key parameter:
https://github.com/OfficeDev/Office-Add-in-samples/blob/15b0646aa3eed1097071fe8fc44426e949a20f73/Samples/excel-shared-runtime-global-state/src/functions/functions.json#L7-L13
But is shown as:
The manifest.xml generated by Yeoman is also odd in that the function URLs have an additional /public folder:
Somehow this works fine when run on a local Excel installation, but fails when using the dist package (404 on public/functions.json) - the custom functions do not show. Removing public from the urls above does not result in the functions being listed, copying the functions.json to the public folder does.
The text was updated successfully, but these errors were encountered: