- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2022 04:35 AM
Hello, we have a screen in ServiceNow where we can register new vendors. We also attach some files with the vendor registration. I am trying to create a report to list all vendor details as well as the attachment names. I can list all vendor details (taken from table u_vendor) but not the attachments (in table sys_attachment). Any idea how I can join the two tables and also get the attachment names?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2022 05:04 AM - edited ‎11-08-2022 05:14 AM
Hi @Panagiotis Kons ,
You can try the below way, I am showing joining incident and attachment. You can try same with your table
1. Create Database view for this as shown below
2. In the related list create two records, one for vendor table and another for attachment table and use the where clause to join both the table. Condition is "attachment's table sys id = vendor's sysid
I hope this helps
Regards,
Kamlesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2022 05:04 AM - edited ‎11-08-2022 05:14 AM
Hi @Panagiotis Kons ,
You can try the below way, I am showing joining incident and attachment. You can try same with your table
1. Create Database view for this as shown below
2. In the related list create two records, one for vendor table and another for attachment table and use the where clause to join both the table. Condition is "attachment's table sys id = vendor's sysid
I hope this helps
Regards,
Kamlesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2022 07:18 AM
Thank you, it worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2024 04:30 AM
Hi,
I am able to get the attachment on the report in service now. But once I export it to csv/excel the attachment link is a plain text and not clickable. Just file name is appearing. Any way to get the links clickable?