Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Importing Service Call with Attachment

SOLVED
Go to solution
Highlighted
Allister_4
Super Collector

Importing Service Call with Attachment

Hi
What is the relationship between the service call and the attachments.Is the relationship built using the OID of the service call.

I would like to import service calls from one server(4.5)to another(4.5) and take along the attachments and add them to a new FTP Server.If I import the service calls surely the OID will change and simply copying the attachments to the new FTP location wont work.

Is there a recommended way of going about this.

Thanks in Advance
4 REPLIES
Vasily Kamenev
Honored Contributor
Solution

Re: Importing Service Call with Attachment

Hi
You have a one way how fixed it - copy in new SC and old OID too, then build script for copy/move files from old place to new using information Old OID and existing OID.
Function for convertion OId to PATH you can find in mig_attachments.pl .

Regards,
Vassili
Allister_4
Super Collector

Re: Importing Service Call with Attachment

Hi Vassili
Thanks for your response.Where do I get this script.I cannot find it on my windows machine.

Where do I save the old OID.

Thanks once again
Vasily Kamenev
Honored Contributor

Re: Importing Service Call with Attachment

The file in SP, if you are used 16 or higer, if you are using lower SP , so path contain the OID. Store the old OID where you like, on any text field from Custom field or in SourceID.

Vassili
Allister_4
Super Collector

Re: Importing Service Call with Attachment

Hi Vassili
Thanks for your assistance :-)
//Add this to "OnDomLoad" event