Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For each sub-option, a draft email will be created in the user's default email client requesting a new password or access. The contents of these draft emails are generic, however you can tailor them to your own installation as follows:. The contents of the emails are defined in the following file which you should open in a text editor:

No Format
WAR 1.x
Engineering Dashboard: CATALINA_HOME\webapps\<dashboard>\engineering\resources\urls.json
Health Dashboard -: CATALINA_HOME\webapps\CAST-Health<dashboard>\portal\resources\urls.json
 
WAR ≥ 2.x
Engineering Dashboard -: CATALINA_HOME\webapps\<dashboard>\static\engineering\resources\urls.json
Health Dashboard: CATALINA_HOME\webapps\CAST-Engineering\engineering\<dashboard>\static\engineering\resources\urls.json

ZIP ≥ 2.x - The file is located in a compiled JAR file located at the root of the unpacked ZIP. This JAR file will need to be unpacked to find the .json file and then repacked:
<unpacked_jar>\BOOT-INF\classes\static\engineering\resources\urls.json
<unpacked_jar>\BOOT-INF\classes\static\portal\resources\urls.json

The following script will be displayed:

No Format
[
    {
        "id": "login-reset-password",
        "url": "mailto:cast_administrator@customer.com",
        "params": {
            "subject": "CAST Health Dashboard: Password lost",
            "body": "Hi, I forgot my password. \nCan you send me the password linked to the UserName '$login-userlost'. \nRegards."
        }
    },
    {
        "id": "login-request-access",
        "url": "mailto:cast_administrator@customer.com",
        "params": {
            "subject": "CAST Health Dashboard: Request access",
            "body": "Hi, I would like to connect to the Dashboard. \nCan I have a username and password, please? \nRegards."
        }
    }
]

The script is fairly straightforward and you can adapt it to your own environment:

idPlease avoid altering this value.
urlThis value governs the destination email address to which the email will be sent. Change this to match your local environment, but please respect the syntax.
params: subjectThis value governs the text that will appear in the subject line of the draft email.
params: body

This value governs the text displayed in the body of the email:

  • Carriage returns (if you require them) must be entered using the "\n" character combination.
  • The $login-userlost value will automatically enter the username as provided by the user attempting to access the dashboard.

...