Comments on: Sending attachments to a 3rd-party service desk https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/ ServiceNow Consulting Scripting Administration Development Wed, 06 Mar 2024 21:12:06 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Jim Pisello https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6843 Thu, 13 Jul 2017 13:54:01 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6843 In reply to dheeraj kumar.

Hi Dheeraj,

I’d recommend that you post your question on the ServiceNow Commmunity Forum.

]]>
By: dheeraj kumar https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6842 Thu, 06 Jul 2017 14:58:28 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6842 Hi SN Guru,

Could you please let me know how we can extract image and attachment data from java api . Any example will be grateful.

]]>
By: Jason Wright https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6841 Fri, 05 Oct 2012 09:50:56 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6841 Hi,

I’ve used the code as the starting point for requesting attachments using a Scripted Web Service, I receive the attachment data in a .net Client. It all works fine for text files, however for PDFs and Excel it doesn’t seem able to create a valid file. Does anyone else experienced this? Is there an extra step required?

Thanks

Jason

]]>
By: Mark Stanger https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6840 Wed, 11 Jan 2012 20:03:53 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6840 In reply to Abhiram Bharadwaj Diddigi.

Until ServiceNow decides to make those methods publicly available, it isn’t possible.

]]>
By: Abhiram Bharadwaj Diddigi https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6839 Mon, 09 Jan 2012 06:56:23 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6839 Hey Mark,

How can I view all the methods of this class Packages.com.glide.ui.SysAttachment();
I want to get the data( I mean the contents) of the attachment and display them rather than to convert them into bytes.

Thanks again!

]]>
By: Mark Stanger https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6838 Wed, 19 Oct 2011 10:22:50 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6838 In reply to Abhiram Bharadwaj Diddigi.

Hi,
It’s probably possible but we don’t have a solution like that at the moment. We’ll try to look into this if we get time. In the mean time you should try posting this to the ServiceNow forums.

Thanks!

]]>
By: Abhiram Bharadwaj Diddigi https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6837 Wed, 19 Oct 2011 04:21:47 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6837 Hi,

Instead of sending it using Web service, Can we extend this method so that we can write this attachment to a shared folder?
I have seen that link ‘exporting to CSV’ in wiki,but I am not sure if its the path to shared folder or a service-now folder :)

Thanks :)

]]>
By: Mark Stanger https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6836 Thu, 21 Apr 2011 09:31:27 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6836 In reply to Lee.

Hi Lee, As shown in the examples above, you encode the entire attachment record by referencing the GlideRecord object. Decoding in the 3rd party service desk obviously depends on the 3rd party system. If you’re using .NET, there are a ton of examples of how to decode Base64 encoded data out there if you Google for them.

]]>
By: Lee https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6835 Wed, 20 Apr 2011 18:55:50 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6835 Hi Jacob

I have few questions.

1. The sys_attachment contains few fields. May I know which fields contains the binary data? Are we need to encode the whole record or only target to the field which contains binary data?

2. May I know how to decode it in third party service desk? Can we decode it from Microsoft .NET program?

Regards

CC

]]>
By: Habin https://servicenowguru.com/integration/sending-attachments-3rdparty-service-desk/#comment-6834 Wed, 05 May 2010 08:50:03 +0000 https://servicenowguru.wpengine.com/?p=1529#comment-6834 Hi Jacob,

Could you please provide the sample SOAP Messages and the operation of web service that we need to give to get the attachment back.

Thanks in advance.

Habin

]]>