How to set property parameters from COS?
Example :
set property.Name = element.LocalName
set property.Type = "%Library.String"
set property.Parameters = ???
Discussion (4)0
Comments
You may define properties by writing to ##class(%Dictionary.PropertyDefinition)
as part of a ##class(%Dictionary.ClassDefinition)
http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?…
Parameters is then defined as array of %CacheString;
And you set it just as any other array. [SetAt() ..... ]
and then compile the class to use that property inside the class
This is nothing you may do on the fly.
It might be tricky to feed PARAMETERS that are accepted by class compiler.
Many thanks!!!
What do you want to do?