Get database name?

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

Posted on
Tue Oct 02, 2012 9:47 am
alistair offline
Posts: 109
Joined: Jul 14, 2006

Get database name?

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

:)

Posted on
Tue Oct 02, 2012 10:25 am
jay (support) offline
Site Admin
User avatar
Posts: 18260
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Get database name?

Not at the moment - I'll add it to the request list.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Oct 02, 2012 10:29 am
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: Get database name?

Actually, there is. :-)

Code: Select all
indigo.server.getDbName()
indigo.server.getDbFilePath()

Image

Posted on
Tue Oct 02, 2012 10:32 am
jay (support) offline
Site Admin
User avatar
Posts: 18260
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Get database name?

LOL - this time I looked in your secret documentation hiding place and it wasn't there either... :P

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Oct 02, 2012 10:32 am
alistair offline
Posts: 109
Joined: Jul 14, 2006

Re: Get database name?

LOL. Excellent. Thanks! :)

Posted on
Tue Oct 02, 2012 10:34 am
matt (support) offline
Site Admin
User avatar
Posts: 21429
Joined: Jan 27, 2003
Location: Texas

Re: Get database name?

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

<ducking>

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests