+Elilmatha
On Mon, Sep 5, 2016 at 3:18 PM, Thushara Ranawaka <[email protected]>
wrote:
> 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 <%2B94%20%280%29%20773438949>*
> *[email protected] <[email protected]>*
>
>
>
--
Best Regards,
Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/
WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/
Don't make Trees rare, we should keep them with care
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev