blob data type to base64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2015 06:32 AM
Hi All,
Am working on a migration project, where we need to migrate attachments from Tool A to Service Now.
Tool A hosted on Windows with SQL Database.Table which stores the attachment contentent has data type as 'blob'.
We are exporting the data in a csv format and planning to convert them into base64 format so that Service Now can understand properly.
Any help on this would be much appreciated.
Regards,
Mahesh.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2015 01:10 PM
Hi Mahesh,
While importing data into Service Now, you can use field tranform maps to convert the blob to base64 encoded string and save into sn attachments table. Here's link to how import sets work - Import Sets - ServiceNow Wiki.
Regards,
Siri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2015 03:23 AM
Hi Siri,
Tried the same way but unable to get the data in right format.
Actually in my source database (MS SQL) the data type is 'image' (BLOB), even tried to convert it to base64 from the DB level itself and tried to attach it to records via background scripts. That also didn't worked.
Regards,
Mahesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2015 03:10 PM
Hi,
There is a Soap Attachment creator integration which allows you to create attachments on Service Now records.
AttachmentCreator SOAP Web Service - ServiceNow Wiki
Thanks
Pankaj