Button to download Excel Sheet With the fields on the form auto populated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2023 10:57 PM
I have 5 fields with values on the form and I need a button on case form , when I click that button , an excel sheet with the fields name and values should be generated and get downloaded.
Fields name should be bold.
Fields value should be normal text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2023 11:37 PM
@Community Alums
you can download the excel/csv but unless user saves the record you won't see the updated value in downloaded file
You cannot customize bold etc
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2023 11:55 PM
Hi Ankur , yes button will only be visible once the record is updated .
Can you help me with the script i need to write to make the button work to download the excel sheet.
we can assume 2 fields filled by user and should be auto-populated when excel is downloaded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2023 12:14 AM
Hello @Community Alums ,
Please find the below link which will help you to create the button. in the below link the button is created on list banner instead of that you can select the form option and check the code.
Thank you,
Omkar