Forum Discussion
MarioZagreb
May 02, 2022Copper Contributor
Include external javascript in Command Set extension
I need to add new menu item to my document library in SP Online which would call methods from external javascript. I have created new item in command bar (with help of MS tutorial) using SPfx and ...
- May 02, 2022I will answer my own question:
According to this:
https://stackoverflow.com/questions/14118878/using-out-of-scope-functions-in-typescript
to access window object:
if (window.hasOwnProperty('GetAA')) {
window['GetAA'].doAction1;
}
MarioZagreb
May 02, 2022Copper Contributor
I will answer my own question:
According to this:
https://stackoverflow.com/questions/14118878/using-out-of-scope-functions-in-typescript
to access window object:
if (window.hasOwnProperty('GetAA')) {
window['GetAA'].doAction1;
}
According to this:
https://stackoverflow.com/questions/14118878/using-out-of-scope-functions-in-typescript
to access window object:
if (window.hasOwnProperty('GetAA')) {
window['GetAA'].doAction1;
}