AI OnAI Off
No worries, I found it :P
CatalogDto cat = CatalogContext.Current.GetCatalogDto();
cat.Catalog.AddCatalogRow("testCatalog", DateTime.Now, DateTime.Now.AddYears(10), "sek", "kgs", "en-us", true, true, DateTime.Now, DateTime.Now, null, null, 0, AppContext.Current.ApplicationId,null);
CatalogContext.Current.SaveCatalog(cat);
Is there a way to create catalogs programmatically?
Regards
Sandra