Hi Shakila,
Your configuration is correct(tested for gadgets). Please find the
compleat asset.js file.
asset.configure = function() {
return {
table:{
overview:{
fields: {
provider:{
readonly:false,
auto:false
}
}
}
},
meta: {
ui: {
icon: 'fw fw-gadget',
iconColor: 'yellow'
}
}
};
};
To remove the default value you might have to override the create function.
Thanks,
Thushara
On Thu, Sep 1, 2016 at 3:48 PM, Shakila Sivagnanarajah <[email protected]>
wrote:
> Hi,
>
> I tried to change the provider while adding the asset. I did following
> change in both [1] and [2].
>
> asset.configure = function() {
> return {
> table:{
> overview:{
> fields: {
> provider:{
>
> * readonly:false, auto:false*
> }
> }
> }
> }
> };
> };
>
> [1] wso2es-2.1.0/repository/deployment/server/jaggeryapps/
> store/extensions/assets/default/asset.js
> [2] wso2es-2.1.0/repository/deployment/server/jaggeryapps/
> store/extensions/assets/esbconnector/asset.js
>
> But still no improvement. Did I miss any step for this?
> [image: Inline image 1]
>
> Thanks
>
> --
> Shakila Sivagnanarajah
> Software Engineer
> Mobile :+94 (0) 768 856837
> [email protected]
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
--
Thanks,
Thushara Kasun Ranawaka
Software Engineer
WSO2 Inc.; <https://wso2.com/signature>
lean.enterprise.middleware
Mobile : *+94 (0) 773438949*
*[email protected] <[email protected]>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev