Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 44
Registered: ‎01-14-2018
Accepted Solution

Creating new warehouse

Dear all,

 

I am trying to automate creating a new warehouse and be able to choose the "Access Template" and choose the "Access database" as in the below image,

 

new WH.jpg

 

Could anyone help in this?

Thanks a lot

 

Khaled

Technical Evangelist
Posts: 475
Registered: ‎09-11-2015

Re: Creating new warehouse

Hi Khaled,

 

you can use the GDatabase.CreateDatabase method, which should work for Access (and only for Access), but the easiest way is to copy the file "C:\Program Files (x86)\Hexagon\GeoMedia Professional\Templates\Warehouses\normal.mdt" to a new location and rename it to your_name.mdb.

 

Pavel

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.