Server Profiles
Server profiles let you set certain parameters on the server side, without having to pass them as URL parameters. They are not visible to the caller and are only loaded with a valid token (/api/ofml.dll/ofml/profile.json).
Setup
Server profiles are maintained in the 3D office data portal under Profil → Server Profil. Where possible, they are meant to replace the URL parameters over time; that is why some settings can be made either way.
Precedence: URL parameters override the profile – except show_price: here the profile always applies; a link cannot switch disabled prices back on.
Available parameters
| Parameter | In the data portal | Default | Description |
|---|---|---|---|
general_settings.show_price | "Preise anzeigen" | true | Show the price. With false, prices are not sent to the client (unlike the URL parameter showprice). |
general_settings.open_catalogue | "Öffne Katalog bei Start" | false | Open the catalog on startup |
general_settings.allow_3d_download | "3D-Modell Download" | true | Show the download area for 3D models |
styles.propertyEditorVariant | – | compact | Layout: full or compact |
styles.articleDrawerVariant | – | modular | Drawer: single or modular |
visibility.articleData.showPropertyHeaders | – | true | Show group headings in the property editor |
The data portal also has the switch "XCF/PEC Knoten anzeigen" (show XCF/PEC nodes). It shows XCF/PEC-specific nodes in the catalog tree and is evaluated on the server.
Example
json
{
"general_settings": {
"show_price": true,
"open_catalogue": false,
"allow_3d_download": true
},
"styles": {
"propertyEditorVariant": "compact",
"articleDrawerVariant": "modular"
},
"visibility": {
"articleData": {
"showPropertyHeaders": true
}
}
}Difference from URL parameters
| Aspect | URL parameters | Server profiles |
|---|---|---|
| Visibility | Visible in the URL | Not visible |
| Tamper resistance | Can be changed by the client | Cannot be changed by the client |
| Precedence | Wins, except for show_price | Applies where no URL parameter is set; show_price always applies |
| Price loading | Loaded, just not shown | Not loaded at all (with false) |