Skip to main content

IDEA server check if database file or field in database exists

Is there a basic script to check if a database file in a IDEA server project exists? And is there a script to check if a field in a database exists?
At the moment i'am scripting for IDEA server projects and if i want to automate scripts there can't be any popup boxes or message boxes in the script but this leads to a world of problems. Anyone with any experience in scripting on IDEA server projects and automate scripts?

osaajah Sun, 05/12/2019 - 14:13

Hi Robert,
Your answer is in Language Browser.  Browse for "ProjectManagement.DoesDatabaseExist" methode, and you will find an examples how to check existence of an IDEA database. To make a script runs in IDEA Server, just add "Client.RunAtServer TRUE" just below "Sub Main".