IDEA server check if database file or field in database exists

2 posts / 0 new
Last post
Robert van den ...
Offline
Joined: 08/08/2018 - 07:37
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
Offline
Joined: 05/25/2018 - 02:33

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".

Images: