Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

vCAC 6.1 - How to fetch custom attribute values in ChargebackByAllocatedResourceByGroupView.js

$
0
0

In vCAC 6.1 chargeback module (ChargebackByAllocatedResourceByGroupView), fetching the default values like memory, cpu like below works fine. But if we try to add a grid value to fetch a custom property value then it doesn't return any value. We can see these custom property values listed in the VMs properties section but just the js script responsible for Chargeback portlet module is not returning the value. Are the custom property values stored differently anywhere? If so how to fetch it in chargeback module?

 

Working

{

            text: 'Memory (GB)',

            dataIndex: 'memory',

            getSortParam: function() {

                return 'Memory';

            },

            align: 'right',

            flex: .75,

            renderer: function(value) {

                return this.helpers.ConvertToNextOrderStorageUnit(value);

            }

        },

 

 

Not working - Custom Property

{

            text: 'BusinessUnit',

            dataIndex: 'BusinessUnit.Name',

            getSortParam: function() {

                return 'BusinessUnit.Name';

            },

           

            flex: .75

        },


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>