OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
678 stars 95 forks source link

#value! message instead of arguments type in Function Argument box #2977

Open maxym2020 opened 1 year ago

maxym2020 commented 1 year ago

I'm building an Excel add-in with Custom Functions. This function has a description with types for every argument. To create a functions.json file I use YO generator provided by Microsoft. Everything works fine until some COM add-in is installed. In that case, the Function Arguments box shows the wrong argument types.

Expected Behavior

correct behavior

There shouldn't "#VALUE!" message instead of arg type in the Function Arguments box

Current Behavior

"#VALUE!" text instead of arg type wrong behavior

Steps to Reproduce, or Live Example

Your Environment

samantharamon commented 1 year ago

Thanks for reporting this, @maxym2020.

@yaweizhu-henson, is this something you can assist with?

donlvMSFT commented 1 year ago

Hi @maxym2020 , thanks for report this issue, I'm trying to repro but seems it works well with the first party com add-ins. image Could you share which com add-in you are using to reproduce? That could be really helpful.

maxym2020 commented 1 year ago

Of course. I took it here: https://www.asap-utilities.com/download-asap-utilities.php ASAP utilities. Home & student version

P.S. I confirm that everything is ok with "pre-added" com addins. ( I tried to turn on Pivot one)

donlvMSFT commented 1 year ago

Hi @maxym2020 , I tried on latest Office CC version, seems this issue is not happened, What's your channel? We could double confirm on that version.

maxym2020 commented 1 year ago

@donlvMSFT What do you mean "channel"? To speak live?

RuizhiSunMS commented 1 year ago

@maxym2020 see the last line 'Microsoft Current Channel (OuterRing)', you can get this by 'File -> Account' image

maxym2020 commented 1 year ago

No third line there image

maxym2020 commented 1 year ago

@RuizhiSunMS Hi! New updates. I tried to create a new excel add-in using this official manual After that, I added help url to function description: Add two numbers @helpUrl https://somesite.com

Everything was OK. But then I installed ASAP utils add-in. And the help url became broken. And the type of arguments for the LOG function was marked as NUMBER Screenshot 2022-11-24 191241 Screenshot 2022-11-24 191210

maxym2020 commented 1 year ago

@yaweizhu-henson @donlvMSFT What kind of data can I provide to help with this issue?

donlvMSFT commented 1 year ago

Hi @maxym2020 , we're still trying to repro the issue, but from our environment, couldn't get same result. Do you know which channel or subscription of Office are you in?

maxym2020 commented 1 year ago

No, I don't know. The channel row is empty. And I have some corporate subscription.

donlvMSFT commented 1 year ago

Hi, sorry for the late response. We'd like to combine this issue with https://github.com/OfficeDev/office-js/issues/3352. We already opened an internal bug to track this issue: #8009934. Or you can provide the scale of affected users, it will help us re-prioritize this problem. Thanks for your patience!

JEGUOCEAN commented 1 year ago

Hi everyone image I was able to reproduce with scriptlab just following the steps I proposed => on first workbook it is ok, on second not, when you reopen function wizard it shows error. It is not the same issue than https://github.com/OfficeDev/office-js/issues/3352. because there is no link with COM addin.

lucadom commented 2 months ago

Same problem here. Any updates about this issue?

maxym2020 commented 2 months ago

We still experience this issue. No changes at all.

вт, 27 серп. 2024 р. о 09:23 Luca Dominici @.***> пише:

Same problem here. Any updates about this issue?

— Reply to this email directly, view it on GitHub https://github.com/OfficeDev/office-js/issues/2977#issuecomment-2311668449, or unsubscribe https://github.com/notifications/unsubscribe-auth/A24WQ2TKWDDLZJAOYNS2TU3ZTQLMPAVCNFSM6AAAAABNFMXZ4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJRGY3DQNBUHE . You are receiving this because you were mentioned.Message ID: @.***>