The cloakeddatabasename( function converts the regular “uncloaked” database name into the internal “mangled” name used on the server.
Parameters
This function has one parameter:regularname – name of database. If this parameter is ""
or omitted, the current database is assumed.
Description
This function converts the regular “uncloaked” database name into the internal “mangled” name used on the server.. 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 regular name into the mangled internal version of the name.
For example, suppose the current database is named Invoices. The internal “mangled name” might be something like _9aa747d3b2248932125b_Invoices
. When writing server code, use cloakeddatabasename( to get the actual internal name of a database. For example, if you want to use farcall to call a procedure in the Price List database, you must first convert "Price List"
into the internal mangled version of the name.
farcall cloakeddatabasename("Price List"),"Price Check"
If you have the mangled database name but need the regular name, use the uncloakeddatabasename( function.
See Also
History
Version | Status | Notes |
10.2 | New | New in this version. |