How to move custom table from one instance to another

dhruva
Kilo Contributor

I have a requirement where i have a custom table having overall 80 columns and 4 custom modules created under it. i need to move this to another instance of snow. what is the best approach ?kindly help t_anurag

1 ACCEPTED SOLUTION

If you have related fields on this table, then those will cause problems for sure, as the related data will not be in the other instance. and i dont think there is any way to do it also as you cant just move all the data, it would be as good as a clone.


-Anurag

View solution in original post

22 REPLIES 22

Try exporting in into excel first......then open that excel and see structure is there or not...



but if some fields are refering other that you need to do it manually in other instance where you import it


Anurag Tripathi
Mega Patron
Mega Patron

Hi Dhruva,



I think the posts above by Ashutosh and Mihir answer your question. Is any part left unanswered?


-Anurag

Hi ANurag


I tried exportin xml and imported in destinatiion instance, it is not capturing all fields and columns , any other appraoch ?


What columns are getting exported?


-Anurag

you can run a background script that will loop over the data you want to capture and inside the while write this



var um = new Packages.com.glide.update.UpdateManager2();


    um.saveRecord(gr);     //gr is the GlodeRecord object of each record you want to capture


-Anurag