Guides
LumApps
Instructions for replacing LumApps’ native search functionality with Glean’s modal search interface
To integrate Glean’s modal search interface into your LumApps environment, you’ll need to add custom code to your site’s header. This can be done using LumApps’ custom code feature.
Replace {YOUR_GLEAN_DOMAIN}
in the code below with your company’s Glean domain (e.g., app.glean.com, company.glean.com)
The integration code performs three key functions:
- Disables LumApps’ native search suggestions using CSS
- Loads the Glean Web SDK from your company’s domain
- Attaches Glean’s search functionality to the LumApps search box once the page has fully loaded
The script includes a polling mechanism to ensure the search box element is present before attempting to attach the Glean functionality, preventing any race conditions during page load.
Was this page helpful?