Customizing the widget.xsd file when creating a custom widget
Hi All. I am creating a custom widget and I would like to show a label or static text in my properties. For this I tried to add an element in my properties of widget.xsd file and accessing it in my xml file. After compiling, when trying access the widget in application it is showing error like The element 'properties' in namespace 'http://www.mendix.com/widget/1.0/' has invalid child element 'label' in namespace 'http://www.mendix.com/widget/1.0/'. List of possible elements expected: 'property' in namespace 'http://www.mendix.com/widget/1.0/'. So is there a possibility of customizing widget.xsd file. Thank you.
I am not entirely sure why you are trying to add something in widget.xsd. The xsd is a definition file that can help you understand which properties you can add to a widget xml. It is not part of the widget, only the repository. So it does not make sense to change this file, as it isn't used.