AdminSettings.razorVersion:
1.0.0
Dependencies
Services:AdminSettingsService, UserService, SermonCollectionService, Snackbar
Variables
| Variable Name | Type | Description |
|---|---|---|
_appLogoSrc | string? | Relative URL of the app’s logo |
_appName | string? | Custom name for the app |
_deploymentName | string? | Name of deployed model in Azure Open AI; used app-wide for generative AI queries |
_missionStatement | string? | Mission statement branding for the AI workspace |
_uploadPermissionsGroupId | string? | Guid of the general upload permissions group |
_openingPrompts | List<string>? | List of opening prompts displayed on Sermon Search start screen |
_openingPromptIds | List<string>? | List of sermon collection identifiers associated with _openingPrompts |
_publicSermonCollections | IEnumerable<SermonCollection> | List of publicly accessible sermon collections (selectable for opening prompts) |
Lifecycle Methods
Runtime Methods
UploadAppLogo(IBrowserFile)
Handles file picking, uploading, & storing the relative URL of a new app logo.
RemoveOpeningPrompt(int)
Removes a Sermon Search opening prompt at a specified index in _openingPrompts
AddOpeningPrompt()
Adds a Sermon Search opening prompt at the end of_openingPrompts
SaveSettings()
UsesAdminSettingsService to save all admin settings in Azure Cosmos DB, as they are currently set.
