I have a PostGIS table linked to GeoServer and eventualy with OpenLayers in a web map app.
Recently, I have created and populated a new column in the table (called atgid) but it seems that I am unable to get the respective feature value in OpenLayers via feature.get() function.
In GeoServer:
I can see the new property/column (atgid) being listed under Feature Type Details in GeoServer and when I use the layer preview functionality, I see the different values when I click on a specific feature.
In OpenLayers:
However, when I load the layer as VectorTile in OpenLayers and get its features properties (feature.getProperties()) my newly created property (atgid) is not even listed, let alone accessed.
Any ideas as to what may be causing this?
I have restarted my browser and even my PC to avoid cache related issues.