Can anyone explain why foundset.getTableName() does returns what it’s says but isn’t listed in the JSFoundset-node and manual ?
We use it a lot !
Are there more of this (nice) hidden features ?
Can anyone explain why foundset.getTableName() does returns what it’s says but isn’t listed in the JSFoundset-node and manual ?
We use it a lot !
Are there more of this (nice) hidden features ?
Hi Lambert,
getTableName() and getServerName() are deprecated in Servoy 5 therefore you won’t find it in the manual or in the solution explorer (or code completion).
Sure it still works but somewhere in the future the support for this might be removed.
You need to use getDataSource() and pass that returned object in databaseManager.getDataSourceTableName() or databaseManager.getDataSourceServerName() to get the table name or server name.
So it’s not a hidden feature, just a deprecated function.
Thanks for the info Robert !
I just hope Servoy thinks about the potential amount of time developers must invest for rewrite before they deprecate functions…
I am now gonna make my own foundset info function for develop time protection !
ROCLASI:
Hi Lambert,getTableName() and getServerName() are deprecated in Servoy 5 therefore you won’t find it in the manual or in the solution explorer (or code completion).
Sure it still works but somewhere in the future the support for this might be removed.
You need to use getDataSource() and pass that returned object in databaseManager.getDataSourceTableName() or databaseManager.getDataSourceServerName() to get the table name or server name.
So it’s not a hidden feature, just a deprecated function.
Robert,
is there somewhere a public list of all functions that are depricated??
Hi Harjo,
If there is one it should be on Servoy Wiki but I can’t find it.
So I guess this is then a request to Servoy to add one
Currently, deprecated functions are not listed in the Programming Reference Guide, but it is on the todo to add them and provide a list of deprecated functions per release together with their replacement.
Paul