- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 12:51 AM
Hi Team,
I have a requirement. On ServiceCatalog what ever the image I attach it should create a record on Another servicenow Instance on custom table(x_copy_catalog_image).
How can we achieve this??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 12:58 AM
Hello @SandeepKSingh ,
To achieve your requirement of sending an image from one ServiceNow instance to another and creating a record in a custom table (x_copy_catalog_image), I recommend following a detailed guide on ServiceNow to ServiceNow integration. This resource will provide step-by-step instructions on how to set up the integration effectively.
Here’s a helpful thread that explains everything in detail: ServiceNow to ServiceNow Integration - Step by Step Guide.
Make sure to pay attention to the API endpoints, authentication methods, and how to handle attachments during the data transfer.
If you have any further questions or need clarification on any specific points, please let me know!
Please Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Regards,
Aniket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 01:00 AM
Hi @SandeepKSingh
As we all know when an attachment is attached to the table it will go to the attachment table (sys_attachment).
So here you can do one thing . When you attach a image on catalog..>
glide to the attachment table copy all the details like file name, content type etc and use table api / attachment APi using rest message to send the data over the other instance.
sample code you can refer my youtube video.
https://www.youtube.com/watch?v=2pg-_lkNc5c&list=PLKH9bPqlw1neHQZWQpYXHKy7LGiG9lhZn&index=8
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
YouTube: https://www.youtube.com/@learnservicenowwithravi
LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 12:58 AM
Hello @SandeepKSingh ,
To achieve your requirement of sending an image from one ServiceNow instance to another and creating a record in a custom table (x_copy_catalog_image), I recommend following a detailed guide on ServiceNow to ServiceNow integration. This resource will provide step-by-step instructions on how to set up the integration effectively.
Here’s a helpful thread that explains everything in detail: ServiceNow to ServiceNow Integration - Step by Step Guide.
Make sure to pay attention to the API endpoints, authentication methods, and how to handle attachments during the data transfer.
If you have any further questions or need clarification on any specific points, please let me know!
Please Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Regards,
Aniket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 01:00 AM
Hi @SandeepKSingh
As we all know when an attachment is attached to the table it will go to the attachment table (sys_attachment).
So here you can do one thing . When you attach a image on catalog..>
glide to the attachment table copy all the details like file name, content type etc and use table api / attachment APi using rest message to send the data over the other instance.
sample code you can refer my youtube video.
https://www.youtube.com/watch?v=2pg-_lkNc5c&list=PLKH9bPqlw1neHQZWQpYXHKy7LGiG9lhZn&index=8
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
YouTube: https://www.youtube.com/@learnservicenowwithravi
LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
