mkanorwala's avatar
mkanorwala
Copper Contributor
Feb 10, 2025
Status:
New

Enhanced Document Control/Protection APIs in Office.js for Word Add-ins

We are developing a Word add-in using Office.js and JavaScript APIs. Our use case requires advanced document control features, which are currently challenging to achieve within the existing Office.js framework.

Here’s our feature request:

Proposed Functionality:

  1. Based on the defined custom properties on a document via add-ins, provide APIs/commands/hooks to disable or override Word's default 'Save,' 'Save As,' and 'Share' options to prevent users from saving or sharing the document locally.
  2. Introduce additional APIs for implementing custom protection mechanisms within the add-in.

Current Challenges:

  • Achieving this functionality appears possible through VSTO add-ins, but they are not compatible with Office.js solutions.
  • VSTO/.NET commands require complex workarounds, such as creating a separate .NET server to communicate with Office.js, which adds development complexity and affects efficiency.

Request:
We would greatly appreciate the introduction of built-in, efficient APIs in Office.js to handle document protection and control scenarios seamlessly without relying on external frameworks or services.

This would significantly enhance the capability of modern web-based add-ins and improve the development experience for Word add-in developers.

No CommentsBe the first to comment