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
685 stars 95 forks source link

Publishing custom functions in this sample on AppSource #3938

Closed t-lm closed 10 months ago

t-lm commented 11 months ago

Note: This repo is only for questions related to its samples. If you have questions about how to use office.js or the Office developer platform, please post your question on https://stackoverflow.com. Tag your question with office-js or outlook-web-addins

Question

Hi there,

Thanks for the great documentation and samples for Excel custom functions.

However, I can't find any section regarding publishing of the custom Excel function on AppSource (as part of an add-in). My custom functions work great locally but are not recognised on the published app.

Thanks for help T

AlexJerabek commented 10 months ago

Hi @t-lm,

Thanks for reporting this. I'm not sure what part of the process would be different for custom functions. I'm going to transfer this issue to the office-js repo where someone in the feature crew can assist you.

MiaofeiWang commented 10 months ago

Hi @t-lm , thanks for reporting this. The process of publishing add-ins to with custom functions to AppSource is same with those w/o custom functions: https://learn.microsoft.com/en-us/partner-center/marketplace/submit-to-appsource-via-partner-center. If your add-in has been published, would you please provide more details (for example, your add-in id, your custom functions' JSON metadata, error UI, etc.) so that we can further figure out the root cause?

MiaofeiWang commented 10 months ago

Hi @t-lm , may I know if your issue is resolved? Please let us know if we can provide any help.

t-lm commented 10 months ago

Hi Miaofei,

Thanks, we are good now. Managed to complete publication of custom functions with the indications here: https://github.com/OfficeDev/office-js-docs-pr/blob/main/docs/publish/publish-add-in-vs-code.md#using-visual-studio-code-to-publish

Maybe they should be integrated in the Excel Custom functions documentation?

Thanks anyway Cheers T

Le 9 janv. 2024 à 04:09, Miaofei Wang @.***> a écrit :

Hi @t-lmhttps://github.com/t-lm , may I know if your issue is resolved? Please let us know if we can provide any help.

— Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/office-js/issues/3938#issuecomment-1882295348, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALVZUJO7LK4HOMCX6TMGWHLYNSYE7AVCNFSM6AAAAABA3UKWHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBSGI4TKMZUHA. You are receiving this because you were mentioned.Message ID: @.***>

MiaofeiWang commented 10 months ago

Glad to know you are unblocked. And thanks for the update suggestion. We will try to optimize the documentation for better experience.