Get database name?

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
Forum rules
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
alistair
Posts: 109
Joined: Fri Jul 14, 2006 11:25 pm

Get database name?

Post by alistair »

Is there a way to get the database name from Indigo from within a plugin?
I know I can use GetServerInfo when running with the web server, but not sure if XML calls are available via IOM...

I'm publishing a service via Bonjour, and would like to use a name that the user will recognize....

:)
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Get database name?

Post by jay (support) »

Not at the moment - I'll add it to the request list.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
matt (support)
Site Admin
Posts: 21542
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: Get database name?

Post by matt (support) »

Actually, there is. :-)

Code: Select all

indigo.server.getDbName()
indigo.server.getDbFilePath()
Image
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Get database name?

Post by jay (support) »

LOL - this time I looked in your secret documentation hiding place and it wasn't there either... :P
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
alistair
Posts: 109
Joined: Fri Jul 14, 2006 11:25 pm

Re: Get database name?

Post by alistair »

LOL. Excellent. Thanks! :)
User avatar
matt (support)
Site Admin
Posts: 21542
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: Get database name?

Post by matt (support) »

jay (support) wrote:LOL - this time I looked in your secret documentation hiding place and it wasn't there either... :P
<ducking>
Image
Locked

Return to “Extending Indigo with Plugins and Python”