Generate an excel(.xlsx) using email scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 09:44 PM
Hi All,
We have requirement to generate an excel(.xlsx) file using email script, we were able to get the .csv but need it in .xlsx. Please help us on how to achieve this.
@Ankur Bawiskar Please help here if you can.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 11:48 PM - edited 10-26-2022 11:52 PM
What you can do is create a custom table with a Supplier field and Other fields to store records data, make sure you are avoiding duplicate suppliers while creating the record in a custom table. Now, you can report on a custom table and associate the report with a scheduled email report. I believe you can create a custom table with no cost by extending tables (Such as dl_matcher etc..). In your script include you can work on the logic to populate the supplier data into a custom table.
You can refer to this page for more information on custom table - https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/custom-table-gu...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 03:24 AM
The scheduled email report is getting triggered in global domain instead of required domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 05:18 AM
In which domain you created the scheduled email report?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 05:19 AM
In the required Domain only