uncloakeddatabasename(
CLOAKEDNAME
)

The uncloakeddatabasename( function converts the internal server name of a database to the regular “uncloaked” name.


Parameters

This function has one parameter:

cloakedname – name of database. If this parameter is "" or omitted, the current database is assumed.


Description

This function converts the internal server name of a database to the regular “uncloaked” name. When running on Panorama X Server, the name of each database is “mangled”, in other words, not the name you would expect. This function converts the mangled name into the normal name you would expect.

For example, suppose the current database is named Invoices. The internal “mangled name” might be something like _9aa747d3b2248932125b_Invoices. When writing server code, use uncloakeddatabasename() instead of info(“databasename”) to get the regular database name, for example to display the name. (If you are going to work with the database, you’ll need the mangled name, so use info(“databasename”).

uncloakeddatabasename() ☞ Invoices

To get the regular name of some other database, just pass the mangled name into the function.

uncloakeddatabasename("_9aa747d3b2248932125b_Price List") ☞ Price List

If you have the regular database name but need the mangled name, use the cloakeddatabasename( function.


See Also


History

VersionStatusNotes
10.2NewNew in this version.