Widget *** is attempting to change the value of attribute ActionString of entity MyFirstModule.SparePartsView which is not available.
0
I'm trying to set attribute value from a custom "IFrame" pluggable widget, and it giving me this error: Here is the IFrame.xml: <properties> <propertyGroup caption="General"> <property key="initURL" type="expression" required="true"> <caption>Default URL</caption> <description></description> <returnType type="String"/> </property> <property key="actionString" type="attribute" required="true"> <caption>Action attribute</caption> <description>This will be storing the event data of the user performed action. (will be in JSON format)</description> <attributeTypes> <attributeType name="String"/> </attributeTypes> </property> <property key="onActionChange" type="action" required="true"> <caption>On change</caption> <description>Action to call when the action attribute changes.</description> </property> <systemProperty key="Visibility"/> <systemProperty key="Editability"/> </propertyGroup> </properties> Here is the code for setting the attribute value from IFrame widget: props.actionString.setTextValue(JSON.stringify(event.data)); props.onActionChange!.execute(); The error is saying that the attribute is not available, what does this even mean? The security is also turned off, still the error is occurring.