The CreatorCon Call for Content is officially open! Get started here.

How to create custom tables and fields through API?

Kevin McGartlan
Tera Contributor

I am looking for information on how to create custom tables and fields through a scripted API solution. We have many data tables we want to replicate in SNOW and have yet to find a way without going through the System Definition -> Tables -> Create New route. Our preferred route would be to script an API solution that allows us to create these tables automatically. We found a couple articles from years ago, but nothing that seemed feasible. 

  1. https://www.servicenow.com/community/developer-forum/how-to-create-a-custom-table-using-rest-api/m-p...
  2. https://www.servicenow.com/community/developer-forum/how-to-create-new-table-programmatically-using-...

Please advise, and appreciate the helpful insight!

 

1 REPLY 1