A Property with Collection of lists
Hi Guys,
I get the below error when trying to compile an imported class in IRIS, it compiles if I remove [ Collection = list ] so not sure about the use of [ Collection = list ] and if removing it would affect anything and its just a duplication?
.png)
Thanks
Product version: IRIS 2024.1
Discussion (0)0
Comments
I'm not sure why you're getting that error, but the Collection keyword is deprecated. You are already declaring the property as a list, so it should be unnecessary anyway.
What version of IRIS/Cache was this class imported from? In 2024.1, the %Collection.ListOfObj class doesn't have a parameter called 'Collection': https://docs.intersystems.com/iris20241/csp/documatic/%25CSP.Documatic…
I am fairly sure you can just remove it without issue.
Thanks