How to detect hyperlinks using Word office js API

Anonymous
2021-12-06T08:50:56.327+00:00

I develop an office add-in for Word (React frontend, typescript). I need to retrieve all hyperlinks in a Word document using the API (https://learn.microsoft.com/en-us/javascript/api/word?view=word-js-preview). But I cannot figure out how to do that without having to parse OOXML (in the browser). Can you help?

Best Jens

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,062 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wenjun Gong 76 Reputation points Microsoft Employee
    2021-12-29T04:04:20.47+00:00

    @Abid Rahman or @Ruoying Liang , are you able to help on this question? Thanks.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.