Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0"?>
<artifactType type="application/vnd.wso2-widget+xml" shortName="widget" singularLabel="widget" pluralLabel="widgets"
hasNamespace="false" iconSet="10">
<storagePath>/widgets/@{overview_provider}/@{overview_name}/@{overview_version}</storagePath>
<nameAttribute>overview_name</nameAttribute>
<ui>
<list>
<column name="Provider">
<data type="path" value="overview_provider" href="@{storagePath}"/>
</column>
<column name="Name">
<data type="path" value="overview_name" href="@{storagePath}"/>
</column>
<column name="Version">
<data type="path" value="overview_version" href="@{storagePath}"/>
</column>
</list>
</ui>
<content>
<table name="Overview">
<field type="text" required="true">
<name>Provider</name>
</field>
<field type="text" required="true" readonly="true">
<name>Name</name>
</field>
<field type="text" tooltip="Age" validate="^\d+$">
<name>Age</name>
</field>
<field type="text" required="true" readonly="true">
<name>Version</name>
</field>
<field type="text">
<name>Createdtime</name>
</field>
<field type="options">
<name label="Category">Category</name>
<values>
<value>Google</value>
<value>WSO2</value>
<value>Templates</value>
</values>
</field>
<field type="text" url="true">
<name>URL</name>
</field>
<field type="text-area">
<name>Description</name>
</field>
</table>
<table name="Images">
<field type="text">
<name>Thumbnail</name>
</field>
<field type="text">
<name>Banner</name>
</field>
</table>
</content>
</artifactType>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.