Correct XML for Widget - MF returnType

2
I'm trying to call a microflow that returns a list of an object but I'm getting a 'cannot resolve entity' error when loading the widget. <property key="myKey" type="microflow" required="true"> <caption>A Caption</caption> <category>A Category</category> <description/> <returnType type="Object" isList="true" entityProperty="entity"/> </property>
asked
2 answers
4

Here, I defined the return object as an entity called "test" which is specified as value of key with type "entity".

<property key="test" type="entity" required="false" isPath="no">
    <caption>a</caption>
    <category>x</category>
    <description/>        
</property>

<property key="myKey" type="microflow" required="false">
    <caption>b</caption>
    <category>x</category>
    <description/>
    <returnType type="Object" isList="true" entityProperty="test"/>
</property>
answered
1

Did you specify the modulename of the entity? Like "MyFirstModule.Entity"

answered