Reading Time: 1 minute

Gets information of the quota values in a quoted field.


vcc.getQuotaFieldData(field: string): object


The name of the field.

Return values

A QuotaDataObject object.


You need to sort selectable values based on the number of remaining items in a quoted field.

$('edge_field').onLoadData = function(data) {
     const quotas = vcc.getQuotaFieldData('edge_field');
     return data.sort(function(a, b) {
         return quotas[a.valueid].diff_value - quotas[b.valueid].diff_value;

There are no comments yet.
Subscribe to our newsletter
or Contact us!
Please note that by subscribing to our newsletter, you agree to receive regular email messages from VCC Live® about service related news and updates. By subscribing to our newsletter, you also agree that VCC Live® will use your data in accordance with the applicable Privacy Policy until you unsubscribe from the newsletter.