I need to dynamically create a class based on a parameter passed into a class method. Basically the method takes in a string that contains the name of the class I need to create a new instance of.
I need something along these lines.
ClassMethod someMethod(className As %String)
{
set classObject = ##class(className).%New()
...
}Trying to do this right results in a class not found error because it seems to be treating the variable as a literal string.





Hi,
I was understanding the cluster configuration supported by the Cache. Have couple of queries around that:
1. In Cache version 2018.2, there is a shrading concept which splits the data of a Master Data server into multiple small data server which store shraded data.
How do we protect (backup and restore) such environment, should we also backup/restore the multiple small data servers along with Master data server. Any documentation around this will really help.
2.