---
title: Limit the visible features of a workspace
summary: Decide which attributes, properties, quantities, classifications and other features the visitors of a published workspace see, as a white-list or a black-list that the server enforces in every call.
order: 75
since: 3.0
terms: [workspace, feature, feature-visibility, bql]
requires: [WORKSPACES]
see-also: [explanation/accounts-and-organisations#workspaces, reference/bql/get, how-to/using-bimworks/share-a-model]
---

# Limit the visible features of a workspace

A workspace owner decides which models a visitor of the published link sees (the filter) and which calls the link may make (the scopes). The *Visible features* tab adds **which features** those calls return: a white-list ("only these features") or a black-list ("everything except these") of attributes, properties, whole property sets, quantities, classification systems, materials, layers, calculated values, model fields and relations. The server applies it to every call of a visitor, not only in the viewer ([[page:explanation/accounts-and-organisations#workspaces]]).

## Before you start

You own the workspace ([[feature:WORKSPACES]]).

## Steps

1. **Open the tab.** On the workspace page, choose *Visible features* and one of three modes: *Everything*, *Only these features* or *Everything except these*.

2. **Build the list.** Add an attribute, a property or a whole property set, a quantity, a classification system, a calculated value, a model field or a relation through the same search dialogs the features panel uses (bSI standard sets, bSDD, and the names the workspace's models actually contain). Or paste a BQL `GET` clause, a whole query or one feature per line. The list has no duplicates; an item that is already inside a broader one ("All of Pset_WallCommon") is marked as covered. *Copy as BQL* gives the list back as a `GET` clause.

3. **Test it.** The *Test* row says what would happen to a `GET` before the rule is saved, with the same rules the server runs.

4. **Save.** A sub-workspace is under its own rule and under every ancestor's: it can narrow what its parent shows, never widen it. The tab lists the inherited rules read-only.

## What a visitor gets

- A plain read of a hidden feature is left out of the result, as if the object did not carry it. A query that uses a hidden feature in a `WHERE`, `GROUP BY`, `ORDER BY`, an aggregate or an expression is refused, because a condition would give the value away ([[page:reference/bql/get]]).
- The features panel shows only what the rule lets through; a query result whose columns were stripped says so in its header.
- Some features are never hidden: the identity of an object (`qid`, `type`, `niceType`) and what the viewer needs to show a model at all — the geometry facts and bounds it conditions on, an object's name, long name, elevation and GlobalId, and the containment relations. The tab lists those as pinned rows that no rule can remove.

## Over the API

The workspace tasks `CreateWorkspace` and `UpdateWorkspace` take `feature_visibility`:

```json {#feature-visibility}
{"mode": "allow", "features": ["attribute.Name", "property.Pset_WallCommon.*", "classification[system.name = \"NL-SfB\"]", "zone"]}
```

`mode` is `allow` or `deny`; `null` clears the rule, an absent field leaves it as it is. Every feature is one plain BQL `GET` item; anything else is refused with `INVALID_FEATURE_SELECTOR`. `GetWorkspaceInfo` returns `effective_feature_visibility`, the rules a visitor is under, nearest first. A `Query2` result carries `hiddenFeatures` with the features it left out; a refused query fails with `FEATURE_NOT_VISIBLE` naming the feature. `ExtractFeatures` with `text` returns the selectors named by a piece of BQL, which is what the paste import uses. Account sessions may pass `feature_visibility` on `Query2`, `QueryCount` and `TableExport` for one request. The Java SDK's `WorkspacesApi` takes the same object on create and update.

## Check

With *Only these features* set to `attribute.Name`, open the published link: the features panel of an object shows its name and the pinned features only, and a query `GET attribute.Description` returns no description column.
