Hello, I added a view from PostGIS to MXD and defined a primary key column. Unfortunately, when I published the service, the primary key was lost. I can query only displayed features in a data table widget, when I query a non-displayed features, I got an error about missing primary key in REST.