Conditional Visibility on Custom Widget Property

0
Hi Everyone, I want to be able to conditionally select widget property as is available for Mendix Widgets. For example : The Data view widget allows to add data source as Context (select entity path) or Nanoflow (in case of Native Apps) I did add a property with type = “datasource”  <property key="data" type="datasource" isList="true" required="false"> but it (by default) adds type as database and XPath which I don’t require. How do I add conditionally widget property as data source in the data view widget? Any suggestions appreciated.  
asked
1 answers
0

Hi , 

You can use the below link to get the property type for Visibility

https://docs.mendix.com/apidocs-mxsdk/apidocs/pluggable-widgets

https://docs.mendix.com/apidocs-mxsdk/apidocs/pluggable-widgets-property-types#system-properties

https://docs.mendix.com/howto/extensibility/create-a-pluggable-widget-two

 

answered