Hello,
I'm implementing some dynamic types for use in custom resources. I'd like to create the actions using polyglot but when I return a JSON object it doesn't get converted to the expected DynamicType.
Is this possible or do I need a post-step which takes my JSON object and builds an instance of the dynamic type from it?
DynamicTypes is a vRO plugin. AFAIK plugins can be used only from the original JS engine. So I don't think this could work without a wrapper JS action.
Ah that's a really good point.
I'm not married to the idea of DynamicTypes - in fact I'd prefer not to use them.
I suppose what I can do is try to make a very generic action that takes JSON input, and a type, and returns a DynamicObject. Then I can re-use that action wherever I have this use case.
Thanks!