☝️Small business or a startup? See if you qualify for our special offer.
+

How do I disable the operation in a specific field?

Answered
jhshin asked on August 11, 2025

Hello.
How do I disable the operation in a specific field?
For our api, all number type data except for a specific column (year) must be operable.
We have defined the operations available for number type in the response value of /fields.
However, in the case of 'year', it is integer, but it must come only to row, column, so it must be impossible to calculate.
For certain columns, I'd like to disable the operation

4 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster August 11, 2025

Hello, Jhshin!

Thank you for your question.

Kindly note that you can specify available aggregations for a specific field in the /fields response. Check out the following guide for more details: https://www.flexmonster.com/api/field-info-object/#aggregations.

Hope you will find our answer helpful.

Kind regards,
Solomiia

Public
jhshin August 12, 2025

we set the aggregations field of specific column('year') to '[]', but it didn't work .

Aggregation of 'year' still followed the aggregation of number type we defined earlier.

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster August 12, 2025

Hello, Jhshin!

Thank you for your quick response.

Please note that it is not possible to completely disable aggregations for a field. When the component receives an empty array, it uses the default aggregations set for this datatype. We recommend sending aggregations: ["none"] for the fields where no aggregations should be specified.

Hope it helps.

Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster 6 hours ago

Hello, Jhshin!

Hope everything is well.

Our team is wondering if setting the aggregations: ["none"] was helpful to restrict the aggregations for a specific string field.

Please let us know if there are any further questions.

Kind regards,
Solomiia

Please login or Register to Submit Answer