GlideSysAttachment create docx

Yamilla Manjko
Tera Guru

Is there a way to create an docx attachment using GlideSysAttachment? Or any other way at all?

I need to create this file with custom content based on user selection on the record and then sent it to OneDrive, everything else is working but create the document has been a challenge.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

As per my understanding not possible as of now.

There are APIs for creating PDF but not word

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

As per my understanding not possible as of now.

There are APIs for creating PDF but not word

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi,

Possible for you to provide some links/references or even an explanation here for creating PDF?

 

thanks,

Govardhan

ServiceNow has the PDFGenerationAPI available for use

Developer link and Community link

 

Both links provide examples of how to use the API to generate PDF files.