Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Is it possible to include custom excel functions interacting with redux store ? #51

Closed
ThroughTheWind opened this issue Aug 12, 2020 · 1 comment

Comments

@ThroughTheWind
Copy link

Hello,

I'm currently working on an excel add-in in react using the dedicated yeoman generator for professional purposes.
My team and I were wondering if it was possible to integrate custom excel functions interacting with a redux store contained in the react taskpane ?
We've been struggling to find any documentation related to this question so any help would be gladly appreciated.

Thanks in advance.

@LouMM
Copy link
Member

LouMM commented Sep 24, 2020

Currently, Custom Functions and Add-ins run on different runtimes (JavaScript vs Browser) Microsoft is working on a Shared runtime and we will have a template soon that maps to it. Once CF and Addins use the Shared runtime, they will be able to use the immutable redux store. Check out this sample we have in the meantime:
https://github.com/OfficeDev/PnP-OfficeAddins/tree/master/Samples/excel-shared-runtime-scenario

@LouMM LouMM closed this as completed Sep 24, 2020
akrantz added a commit to akrantz/Office-Addin-TaskPane-React that referenced this issue Mar 13, 2024
The office-addin-debugging package is being updated to have sideload integrated
rather than require using office-toolbox.

This removes the sideload and unload package.json scripts which are no longer needed.
They could be replaced using a command like:

"npx office-addin-dev-settings sideload manifest.xml -a excel"

however this would require a dev dependency on office-addin-dev-settings. I think it would
be simpler to just use the "start" and "stop" scripts instead. These scripts were required
previously so that "office-addin-debugging start" would know how to sideload, but now that
this functionality is part of the office-addin-dev-settings package, it can import and call
it directly.
akrantz pushed a commit to akrantz/Office-Addin-TaskPane-React that referenced this issue Mar 13, 2024
* add CODEOWNERS file

* convert-to-single-host: delete .github folder

* Update packages to latest versions (OfficeDev#47)

- Also make small change to launch.json to fix issue that was causing 'Debug Tests' config to fail after updating mocha version.

* Update office-addin-scripts packages (OfficeDev#48)

-Verified tests pass locally

* Remove office-toolbox package (OfficeDev#51)

The office-addin-debugging package is being updated to have sideload integrated
rather than require using office-toolbox.

This removes the sideload and unload package.json scripts which are no longer needed.
They could be replaced using a command like:

"npx office-addin-dev-settings sideload manifest.xml -a excel"

however this would require a dev dependency on office-addin-dev-settings. I think it would
be simpler to just use the "start" and "stop" scripts instead. These scripts were required
previously so that "office-addin-debugging start" would know how to sideload, but now that
this functionality is part of the office-addin-dev-settings package, it can import and call
it directly.

* Update all package versions (OfficeDev#54)

- This will ensure we pick up important office-addin-scripts changes as well

* remove unnecessary file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants