Powered by Zoomin Software. For more details please contactZoomin

Administrate MarkLogic Server

Example: Modifying the Notification Dialog Text

Example: Modifying the Notification Dialog Text

  • Last Updated: April 15, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 12.0
    • Documentation

Use the following script to change the text displayed in the notification dialog box. Changing the text causes the dialog to be displayed to users the next time they navigate to one of the built-in MarkLogic applications.

Run this script in Query Console against the App-Services database:

xquery version "1.0-ml";
declare namespace env-ui = "http://marklogic.com/environment-ui";
(: Set this variable to your new notification :)
let $new-message := "This is your new message."
let $env-ui-node := 
  fn:doc('/cluster-ui-settings.xml')/env-ui:environment-ui
return 
  if (exists($env-ui-node)) then
    xdmp:node-replace(
      $env-ui-node/env-ui:ui-message, 
      <env-ui:ui-message>{$new-message}</env-ui:ui-message>)
  else ()
(: Reload Query Console to see your changes. :)

When you reload Query Console, the notification dialog box should be displayed. It should contain your new message.

TitleResults for “How to create a CRG?”Also Available inAlert