Questions tagged [office-js-helpers]

A collection of helpers to simplify development of Office Add-ins & Microsoft Teams Tabs

A collection of helpers to simplify development of Office Add-ins & Microsoft Teams Tabs (from https://github.com/OfficeDev/office-js-helpers)

113 questions
0
votes
1 answer

Why does the javascript file sometimes not load with the html for Office Addins?

I have a taskpane Office Addin that sometimes does not load the javascript file with the html. The user has to click reload a number of times before it eventually does. I know it's not rendering because I've used JQuery to format the buttons and the…
0
votes
0 answers

How to convert an array into columns in an Excel web add-in?

I want to take an object as two columns of a selected table. How can I extract a selected column and pass it as an object? I want the barData object to be the selected columns. This code creates a graph on the add-in taskpane on clicking a button…
0
votes
1 answer

How to take chart target position as input from the user in an Excel VSTO Add-in through a textfield?

I want to create a Bar chart on Excel Add-in, but I want to get the target position of the chart from the user in a textfield, how can I use that value and assign it to the chart.setPosition ? Is it possible to add the parameter for the setPosition…
0
votes
1 answer

Taskpane launch on ribbon load or document created or open

please is the way to pin the task pane in word and excel. or use LaunchEvents like outlook to trigger the task pane on new document which in return reopens when the document is open. I need a function to run as soon as the ribbon loads. I tried…
0
votes
1 answer

How to Split a cell in JS API for MS365 excel labscript

I am trying to split a cell/string simply in MS365 using Labscript. Split() or LEFT does not exist in Labscript which is another reason why I am not sure why MS claims that javascript is the language of use for Labscript. Thanks!
Fads
  • 11
  • 2
0
votes
2 answers

How to use JS Excel API in my web application using data from my server

Is it possible to run js excel api in my web application using data from my server. I want to use this api as a replacement of html data table. Need a step by step guide if possible and what are the T&C for any commercial use.
0
votes
1 answer

office-js: using JS excel api as front end Data Table

Is it possible to run js excel api in my web application using data from my server. I want to use this api as a replacement of html data table. Need a step by step guide if possible and what are the T&C for any commercial use. Thanks in advance.
0
votes
1 answer

Acquiring SSO token in mobile outlook client

I´m having trouble to get SSO working in my javascript based addin for the mobile outlook app. With the example here https://github.com/OfficeDev/outlook-add-in-attachments-demo And this…
0
votes
1 answer

Office Add-In deployed through O365 Admin Center Appears in Excel Ribbon but can´t be open

I have deployed an Office Add-in and uploaded through the O365 Admin Center The Add-In appears in the Excel Ribbon but can use it as a message appears “We could not open the Add-In from LocalHost. Should I modify anything in the Manifest File? The…
José Santos
  • 3
  • 1
  • 3
0
votes
1 answer

Validated Excel addin manifest works in Excel locally but not in excel online

I am using Office.js to create an Excel add-in. I am hosting my website on https://localhost:3000 and installed the office dev certs. When i sideload the manifest.xml locally with office-addin-debugging start manifest.xml desktop, the addin works…
kMutagene
  • 177
  • 10
0
votes
1 answer

why MenuContext is not working in Office Word 2016

I'm trying to develop an office-js word add-ins to enhance the right-click menu but when I'm adding the element in my manifest . Word can't read/access the manifest anymore . So OfficeMenu is not available for me . What can I check ? Many…
Oks
  • 11
  • 1
0
votes
1 answer

what is one time purchase in officejs for add-ins

just visited the this URL for office add-in availability. What is one time purchase in office add-ins and office 365 subscription ones?
0
votes
0 answers

How to get access token through redirect url browser in Officejs excel add-in

When trying to implement below logic we were able to get access token in redirect url browser like https://localhost:3000/taskpane.html#id_token="xxxxxxxx...." but not able to get in origin like in taskpane.ts file. Code in taskpane.ts: if…
0
votes
1 answer

Add Dynamic TextFields Through Dropdown Component Selection?

In the following project, I am creating a Task Pane using TypeScript and React in Microsoft Excel. When the Task Pane loads, it will only have a basic Dropdown with a few options. import * as React from "react"; import Progress from…
0
votes
0 answers

Excel office addin + React - Security Error with websockets

I've been trying to create an excel addin with React. I'm trying to connect it to a websocket server but I keep getting this vague error: Error: SecurityError due to this line this.client = new WebSocket('ws://localhost:6789'). Is there a way to…
ty1
  • 334
  • 4
  • 19