Microsoft Q&A

JavaScript API

447 questions

An Office service that supports add-ins to interact with objects in Office client applications.

Browse all Office tags

447 questions with JavaScript API tags

Sort by: Updated
1 answer

Sharepoint Online Modern sites Homepage how to remove dropdown on Libraries

SharePoint online modern sites Homepage in left hand side column you have the word Libraries click on it and it drops down the list of the libraries. I have a customer that doesn't want it like that they want to have the word Libraries and then the list…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
6,979 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,035 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,680 questions
asked 2023-02-02T17:00:53.91+00:00
Glenn Skinner 1 Reputation point
answered 2023-02-03T03:13:35.2533333+00:00
RaytheonXie_MSFT 14,306 Reputation points Microsoft Employee
1 answer

Check if account exists

Hi, To the code like Dim computer Set computer = GetObject("WinNT://" & computerName) Dim user Set user = computer.Create("user", userName) user.SetPassword password user.SetInfo …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
1,966 questions
asked 2022-11-02T03:39:12.653+00:00
Peter_1985 1,831 Reputation points
edited the question 2023-02-02T23:45:40.05+00:00
Dave Patrick 329.9K Reputation points Microsoft MVP
1 answer

Pass Authenication cookie to MS Word to open word document without MS Word authentication popup

Hello, We have a website where we list the MS Word documents and a WebDav setup and user has to login for viewing the list of documents. Users can edit the documents online in Office online and while opening the document remotely(by supplying the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
1,966 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
89 questions
asked 2022-02-03T15:33:05.683+00:00
Varun Arora 1 Reputation point
commented 2023-02-02T13:40:37.4866667+00:00
Wisal Ahmed 0 Reputation points
2 answers

404 issue to the file

Hi, Due to issue like What to adjust below? <body style="background-color: ???; background-image:url(beautiful_Currency0e.jpg);">

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
405 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,195 questions
asked 2023-01-28T08:50:16.07+00:00
Peter_1985 1,831 Reputation points
edited a comment 2023-02-01T13:47:09.4833333+00:00
AgaveJoe 17,121 Reputation points
0 answers

How to know when a book is completed using the iframe provided by outlook booking service

Is there any event or way to know if a book was successfully using the iframe provided in the booking dhasboard? I am not able to use the Booking API, it needs to be a Javascript/ReactJS solution. Thanks

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Microsoft Graph Customer Booking API
Microsoft Graph Customer Booking API
A Microsoft API that lets enterprise organization and small business owners manage customer bookings and information with minimal setup.
158 questions
asked 2023-01-31T19:11:02.51+00:00
German Olle 0 Reputation points
0 answers

Office Add-in Interface reading / updating SharePoint properties

I'm looking for an option to access the SharePoint online file properties within an Office add-in. The JavaScript API does not offer such an interface.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
146 questions
asked 2023-01-31T07:37:22.8133333+00:00
WKU 0 Reputation points
2 answers One of the answers was accepted by the question author.

Run .vbs file

Hi! I don't know about scripting in vbs. Here in the environment we have a 2008 Standard R2 server with scheduling that executes a .bat file with: cscript file.vbs Everything works normally. But I need to migrate this server to a 2016 and when testing…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
asked 2023-01-26T21:44:51.9+00:00
Quintas 20 Reputation points
accepted 2023-01-30T18:02:11.9433333+00:00
Quintas 20 Reputation points
4 answers

Web form issue

Hi, I get "undefined" unexpectedly to the column/field below, while there is the proper row value returned from the table. What is the reason? html += "<td >货币</td><td style='font-weight:…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
405 questions
asked 2023-01-20T07:49:30.2666667+00:00
Peter_1985 1,831 Reputation points
commented 2023-01-30T09:59:52.35+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
0 answers

How to show the task pane in the Office add-in for Outlook?

I'm using Visual Studio 2019 to develop an Office add-in for Outlook. I would like to see the Office Add-in task pane when composing a new message. Using event-based activation, I can fire an event when a new message is created, but I don't know how to…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
1,966 questions
asked 2023-01-30T09:55:17.2533333+00:00
Kami Toshihiko 15 Reputation points
1 answer

Not all records being saved in SharePoint List via JSOM

Hi i am having trouble saving all records from my Array to my SharePoint Detail List via JSOM. Most of the time it save all but sometimes not all records are being saved. See my code below: function savetoDetailList(id) { ctr = 0; …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,035 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,680 questions
asked 2023-01-20T12:08:09.17+00:00
Robles, John Ryan 0 Reputation points
commented 2023-01-30T02:59:08.33+00:00
RaytheonXie_MSFT 14,306 Reputation points Microsoft Employee
3 answers

after running code , this error show i am using window 10, C#, Asp.net, Bootstrap, JavaScript, Html lang

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
405 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
6,979 questions
asked 2023-01-24T09:23:53.4466667+00:00
Rupa Kumari 0 Reputation points
commented 2023-01-30T02:47:04.53+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
2 answers

How to open existing document with Office JS API

Is there a way to open existing document with Office JS API (Word, Excel, PowerPoint) as we can open new document with stream? If there is no API support, is there protocol URLs which we could use (in desktop/browser win/mac) to accomplish this? Our…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
1,966 questions
asked 2022-04-26T05:32:27.603+00:00
Miikka Laakso 11 Reputation points
answered 2023-01-29T21:34:45.4833333+00:00
Goetting, Dennis 0 Reputation points
1 answer

how do i launch an app to play store

i just need answers

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
3,044 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
8,541 questions
asked 2023-01-26T15:21:54.4+00:00
KAMU JOSE 0 Reputation points
answered 2023-01-27T13:32:56.52+00:00
Olaf Helper 25,726 Reputation points
0 answers

How to track if app is minimized through office-js add-in for word/excel/powerpoint ?

I am developing an OfficeJS add-in for Word, Excel and PowerPoint where I need to perform some action when the file is minimized or out of focus. Is there any OfficeJS api which can provide us related event ?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
1,966 questions
asked 2023-01-27T07:06:46.7233333+00:00
Minatee Pradhan 1 Reputation point
0 answers

Using java script api's Can you acces the styles collection in Word and get the value of property ?

I am trying to make an addin that will just print in console the value of property of specific style but I want to do it without making user select any text or doing anything i just want the program to print out maybe spacing or scaling value of font…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
1,966 questions
asked 2023-01-26T14:02:34.95+00:00
Jonasz Janicki 0 Reputation points
edited the question 2023-01-27T02:18:36.5366667+00:00
Emi Zhang-MSFT 10,616 Reputation points Microsoft Employee
3 answers

No access into computer

I can't sign into my computer. I have a password and it only asks for a pin which I don't have.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
3,428 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,677 questions
asked 2023-01-23T14:22:29.9133333+00:00
TERESA MONTANO 0 Reputation points
commented 2023-01-26T05:53:51.1566667+00:00
ChristyZhang-MSFT 9,526 Reputation points Microsoft Employee
0 answers

Next meeting for Access User Groups - Europe

The next Access Europe meeting will be on Wednesday 1 Feb 2023 starting at 18:00 (6PM) and finishing at about 19:30 (7.30PM) UK time (UTC) The start time is equivalent to 19:00 (7PM) in Central Europe / CET (UTC+1) and 10AM in Seattle / PDT (UTC-8) …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Access
Access
A family of Microsoft relational database management systems designed for ease of use.
22 questions
Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
727 questions
asked 2023-01-25T21:05:51.93+00:00
Colin Riddington 0 Reputation points Microsoft MVP
2 answers

How to set cursor position after insertText to word document?

I have created a Word add-in using Office JavaScript APIs I called APIs to insert text into a document at the located cursor position Below code, I am using await Word.run(async (context) => { const paragraphs =…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
asked 2023-01-23T12:41:56.34+00:00
Kishan Vaishnani 1 Reputation point
answered 2023-01-25T20:29:59.6533333+00:00
Eugene Astafiev 636 Reputation points
2 answers

how to trigger function when message arrives outlook add-in using officejs library?

I want to trigger function when new message arrives in mailbox.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
1,966 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
147 questions
asked 2023-01-25T18:21:58.1233333+00:00
shubham.akurdekar 0 Reputation points
answered 2023-01-25T19:12:38.7166667+00:00
Eugene Astafiev 636 Reputation points
3 answers One of the answers was accepted by the question author.

535 5.7.139 Authentication unsuccessful

We are receiving the following error using the Office 365 SMTP server to send mails: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Same issue with MFA (+ App password) and without…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
447 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,088 questions
asked 2021-08-13T11:12:53.717+00:00
Maurice Wegner 36 Reputation points
commented 2023-01-24T12:00:02.66+00:00
Stef 0 Reputation points