The Zurich release has arrived! Interested in new features and functionalities? Click here for more

rahulpandey
Kilo Sage

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:

find_real_file.png

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 šŸ™‚

Comments
Vijay Kumar21
Tera Contributor

Hi @rahulpandey 

 

I have installed the 'Document Editor' update set in the Utha version. Document Editor is not coming up in the search navigator. 

 

What do you think we should do in this case?

asishk83
Tera Contributor

Hi @rahulpandey  The solution you provided for online document edit is working fine for me, I can click on edit and make changes and save it. But, uploading the doc back to record takes some time. If you close the record window before completing the doc upload, it is getting removed from the record. Could you please provide us any work around for this. 

 

Your response is highly appreciated.

 

Thankyou!

Huu Tinh
Tera Contributor

Hi @rahulpandey 

Thank for your help!

I had config everything based on your document, but when I download file from my One Drive, it gave me 401 error.

Anyone facing this issue? Please help me!

Kailash Bhange
Kilo Sage
Kilo Sage

Hi @rahulpandey 

I am getting below error when I click on edit option for attachment. I have followed all of the instructions, can u pls check and let me know if you know anything on this?

Any help will be much appreciated.

 

Thanks in advance

KailashBhange_0-1726660667237.png

 

Version history
Last update:
ā€Ž03-07-2022 11:23 AM
Updated by: