logo

NJP

Document Editor :Edit MS office attachment directly in browser.

Import · Mar 07, 2022 · article

Hello Community! Sharing a piece of recent learning.

Lately, I have been working on an idea/use case to speedup the attachment modification in serviceNow. Currently, to edit any attachment you have to download it on local hard drive, edit and upload it back, this is slow and tedious.

I developed a feature in ServiceNow called document editor. The feature allows you to edit an attachment(MS files such as excel, Word and PPT) directly in the browser using an integration in between MS drive(Business and individual both) and serviceNow. Below is the image showing working demo:

image

This feature requires couple of prerequisites such as :

  • Requires an application registration with Azure (guide attached)
  • Client ID and Client Secret of the application.
  • Popup blocker disabled

Currently, in version 1.0 the feature only works on native platform however, I expect portal inclusion in future release.

I have shared this feature on serviceNow share. Link Below

https://developer.servicenow.com/connect.do#!/share/contents/3490912\_document\_editor?v=1.0&t=PRODUCT\_DETAILS

I have attached installation guide and MS Azure registration guide.

Note: this feature modifies out of the box UI macro, consider while upgrading.

Hopefully, this will help the community and looking forward to feedbacks image

View original source

https://www.servicenow.com/community/now-platform-articles/document-editor-edit-ms-office-attachment-directly-in-browser/ta-p/2306777