How to add custom JavaScript code to Crowd Webapp

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

Adding a custom JavaScript code to the header of Crowd Webapp can be tricky and there is no easy way of doing it from the UI.

Solution

To inject the custom JavaScript code, you will need to do the following:

  1. On your Crowd server, navigate to <crowd-install>/crowd-webapp/console/decorator
  2. Backup the file default.jsp by creating a copy of it
  3. Modify default.jsp
  4. Add your code to the head section
  5. Save the file
  6. You should be able to see the changes right away, no need to restart Crowd


Last modified on Mar 26, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.