Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/./man/man5/webui-preferences-json.5
Real path: /usr/share/man/man5/webui-preferences-json.5
Zurück
'\" te .\" Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. .TH webui-preferences-json 5 "27 Nov 2017" "Oracle Solaris 11.4" "File Formats" .SH NAME webui-preferences-json \- Web UI Preferences JSON File format .SH DESCRIPTION .sp .LP The Oracle Solaris Web UI uses JSON (JavaScript Object Notation) for the storage of the various configurable options. See \fBwebui-preferences\fR(7) manual page for more information on how to deliver these files. .sp .LP The format of the preferences JSON file is defined by the JSON Schema that is delivered by the packaging system. .sp .LP It is possible for administrators to deliver JSON files that override the delivered defaults in the specified site directories as outlined in \fBwebui-preferences\fR(7). .SH FORMAT .sp .LP The JSON preferences file takes the basic form: .sp .in +2 .nf { "global": { "<version>": { "<prop_1>": <prop_value>, "<prop_2>": { "<sub_prop_2_1>": <prop_value> }, "<prop_N>": <prop_value> } } "apps": { "<app_name>": { "<version>": { "<prop_1>": <prop_value>, "<prop_2>": { "<sub_prop_2_1>": <prop_value> }, "<prop_N>": <prop_value> } } } } .fi .in -2 .sp .SS "Fields" .sp .ne 2 .mk .na \fBnamespaces\fR .ad .RS 14n .rt There is a namespace for each set of preferences, where "global" is the namespace for the setting of any global preferences that would be relevant to the Web UI as a whole. .sp The "\fIapps/<app_name>\fR" namespace contains any preferences that are for any specific installed application (for example, "analytics"). .RE .sp .ne 2 .mk .na \fB<\fIversion\fR>\fR .ad .RS 14n .rt For each namespace, there is a version associated. If you wish to set a specific preference for a specific version, you should specify a version here. .RE .sp .ne 2 .mk .na \fB<\fIprop_*\fR>\fR .ad .RS 14n .rt To actually change a value, you should provide the name of the property, and the new value. Some properties may be part of the value for another property, like "<sub_prop_2_1>" is above. .sp Exactly where the property you wish to set is located should be determined by looking at the delivered JSON files and/or the JSON Schema. .RE .SH EXAMPLES .LP \fBExample 1\fR Setting the Web UI to Use Large Fonts by Default .sp .in +2 .nf { "global": { "v1": { "accessibility": { "large_fonts": true } } } } .fi .in -2 .sp .LP \fBExample 2\fR The Home Sheet in the Analytics Application to one of the Existing Sheets Identified by the UUID .sp .in +2 .nf 06217390-1c04-11e5-bd3f-8b3fe05a2bd3 .fi .in -2 .sp .sp .LP The JSON would look like: .sp .in +2 .nf { "apps": { "analytics": { "v1": { "homeSheet": "06217390-1c04-11e5-bd3f-8b3fe05a2bd3" } } } } .fi .in -2 .sp .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Interface Stability Private .TE .sp .SH SEE ALSO .sp .LP \fBwebui-preferences\fR(7)