Can a Word Add-In Capture Custom Parameters Passed in Word URl?

s w 80 Reputation points
2024-05-10T20:32:20.36+00:00

I'm developing a Word add-in tool that navigates to a bookmark based on its name. I aim to pass a custom parameter to specify the bookmark name, but I'm unable to find a method to achieve this.

The 'context.document.url' only provides the document's path URL and doesn't include any custom parameters passed.

Is there a method to pass a custom value to my add-in? I don't want to add the bookmark as a metadata in my file, as the bookmark name may vary depending on the user's selection.

Thanks for helping!

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
696 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.
3,583 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.
2,712 questions
0 comments No comments
{count} votes