|
| 1 | +# Configuration flags upon On-Prem and SDK deployment |
| 2 | + |
| 3 | +This document is outlining the available configuration flags for deploying and managing the App Builder on-premise instance. This document should provide examples of key environment variables, such as: |
| 4 | + |
| 5 | +```sh |
| 6 | +docker run --restart always -p 80:5000 -e AuthSettings__ClientId="1234-4657-00" |
| 7 | +``` |
| 8 | + |
| 9 | +## Configurable properties |
| 10 | + |
| 11 | +### Through environment.ts (part of App Builder SDK context) |
| 12 | + |
| 13 | +``` |
| 14 | +// Configuration Property Explanations: |
| 15 | +
|
| 16 | +- favicon: '/favicon_dev.ico', // Enables you to set your own favicon |
| 17 | +- disableSurvey: false, // Disables App Builder surveys |
| 18 | +- enableLibrariesManagement: false, // Shows/hides the dropdown for library management |
| 19 | +- disablePublishToGithub: false, // Disables/enables the "Publish to GitHub" button |
| 20 | +- disableFeedback: false, // Toggles Feedback dialog visibility |
| 21 | +- showOnboardingVideos: false, // Toggles the onboarding YouTube videos |
| 22 | +- toggleableDatasourceTags: false, // Toggles the visibility of data source color tags |
| 23 | +- hideMainMenu: false, // Toggles the visibility of the Application Shell Main Menu |
| 24 | +- personalWorkspaceLabel: 'myProjects', // Sets the label value for the personal workspace |
| 25 | +- disableCodegen: false, // Toggles the usage of the Codegeneration service |
| 26 | +- hideSharingOptions: false, // Toggles the visibility of sharing options in the UI |
| 27 | +- hideHelpResources: false, // Hides help resources in the interface |
| 28 | +- hideAppBuilderLogo: false, // Hides the App Builder logo |
| 29 | +- disableQuickTips: false, // Disables Quick tips |
| 30 | +- hideMockDataSources: false, // Hides mock data sources from the UI |
| 31 | +- hideVerbPills: false, // Hides HTTP verb pills in API-related features |
| 32 | +- useSummaryForOperationName: false, // Uses a summary instead of a full name for operation names |
| 33 | +- showObjectDatasources: false, // Enables support for object-based datasources (limited use case) |
| 34 | +- hideDesktopApp: false, // Hides desktop app-related options in the UI |
| 35 | +- hideAccountMenu: false, // Hides the account menu from the UI |
| 36 | +- hideExperimentalGenerators: [], // Specifies frameworks to hide from code export (e.g., [{ platform: Platform.react }]) |
| 37 | +- disableMockDataUponFailedEndpoint: false, // Prevents mock data from being used if an endpoint fails |
| 38 | +- disableAI: false, // Disables AI-related features |
| 39 | +- enableCssGridLayout: true, // Enables the CSS Grid layout feature |
| 40 | +- showPreviewInvite: true, // Shows preview invites for collaborative features |
| 41 | +
|
| 42 | +// Theme Properties: |
| 43 | +
|
| 44 | +appTheme: { |
| 45 | + schema: 'light-bootstrap-schema', // Defines the base theme schema |
| 46 | + colors: { |
| 47 | + primary: '#2D8DFF', // Primary color used throughout the application |
| 48 | + secondary: '#2D8DFF', // Secondary color |
| 49 | + surface: '#F1F7FF', |
| 50 | + success: '#31AB2B', // Success indicator color |
| 51 | + warn: '#F2C200', // Warning indicator color |
| 52 | + error: '#DB372A', // Error indicator color |
| 53 | + info: '#0678FF', // Info indicator color |
| 54 | + grays: '#2F2F2F', |
| 55 | + }, |
| 56 | + typeface: 'Public Sans', // Default font for the application |
| 57 | + fonts: [], // Additional font families |
| 58 | + scale: 'bootstrap-type-scale', |
| 59 | + roundness: 0.3, // Corner roundness |
| 60 | + elevation: null, // Elevation (shadows), if applicable |
| 61 | +}, |
| 62 | +
|
| 63 | +shellTheme: { |
| 64 | + typeface: 'Public Sans', // Font used in the application shell |
| 65 | + colors: { |
| 66 | + primary: '#2D8DFF', // Primary color |
| 67 | + grays: '#9A9DA2', |
| 68 | + success: '#31AB2B', // Success indicator color |
| 69 | + warn: '#F2C200', // Warning color |
| 70 | + error: '#DB372A', // Error color |
| 71 | + aux1: '#068E6B', |
| 72 | + aux2: '#9C27B0', |
| 73 | + }, |
| 74 | +} |
| 75 | +``` |
| 76 | + |
| 77 | +### Through a parameter in a docker run command (On-prem context) |
| 78 | + |
| 79 | +```sh |
| 80 | +docker run --restart always -p 80:5000 -e AuthSettings__ClientId="1234-4657-00" |
| 81 | +``` |
| 82 | + |
| 83 | +## Additional Resources |
| 84 | +<div class="divider--half"></div> |
| 85 | + |
| 86 | +* [Auth with openid connect](auth-with-openid-connect-o-auth.md) |
| 87 | +* [On-prem Prerequisites and Installation Overview](../on-prem-prerequisites-and-installation.md) |
| 88 | +* [App Builder Interface Overview](../interface-overview.md) |
0 commit comments