Something we've found really helpful for users is embedding the launch URL for MAST eLearning into the business object compliance report. This allows users to 'act now' on their non-compliance with just one click.
For one package eLearning, we use the direct link, for multi-package courses we use a pre-filtered catalogue link. The way we pass this into the accreditations is via the accreditation custom fields.
To extract a direct launch URL for an eLearning package in your LMS, go to the activity page and click URL in the course section. Copy the resulting URL. You will use this later in your accreditation custom field.
To build a pre-filtered catalogue link use the URL below as a basis, replacing your domain and the search term. Our catalogue is on Tab 2 on the LMS, We use a custom field in the activity for keywords like "Route-2-Safeguarding" but you can use anything that is unique enough to return one answer, a course code, for example, works just as well.
Note: Beware of spaces in your search term.
Once you have your link prepared, it simply needs to go into an accreditation custom field. To define a custom field, In admin>system>custom fields, use the drop down to select accreditations (we've called ours "MAST requirements", you can change this in the system vocabulary if you want).
Define a 'single line text entry' field and remember the number of the fields. There is a new button at the bottom of the list. You can have up to 20 of these! Our launch URLs go into number 5
Once you have your URLs and Custom field ready, they can be put together in the accreditation section of the system, on the custom fields page for an accreditation.
Don't forget to click submit.
Now make a cup of tea, go home, live life and wait for your overnight batch processor to run and your BO reports to refresh.
You should now have, a custom field in your BO reports that contains a URL. To use this in a report, we use the following button and the following code.
The button, you can download the graphic from here but you must re-upload it into your LMS in a repository and create your own url link to it. You should use this address in your formula.
=If IsNull ([Accreditation Custom Field 05]) Then "Please Book" Else "<img src='https://meh.kallidus1.com/LMS/content/repository/Reporting/launch-elearning-4.png' alt='something' onclick=\"window.open('" + [Accreditation Custom Field 05] +" ','something');\">"
Code: using HTML
=If IsNull ([Accreditation Custom Field 05]) Then "Please Book" Else "<a href=" + [Accreditation Custom Field 05] + " target='_Blank'><img src='https://meh.kallidus-suite.com/LMS/content/repository/Reporting/launch-elearning-4.png' alt='something'></a>";
after migrating to Azue we discovered the java script version of this didn't work, but Kallidus support came back with an HTML version that does work, so if you are having no luck with the onclick= method, try the href= one!
What it does is, if there is nothing in Custom field 5 it says "Please Book" although you can change that to anything, "" will leave it blank, or you can show another [variable], we show if there is a booking (but that's another level of difficulty! for the purpose of this guide it's Please Book, but you could have another custom field saying what to do if there is no eLearning, or providing a link to the face to face training booking?!) It then shows the image and attaches the URL in Custom Field 5. I think 'something' is the tooltip, but it didn't seem to work without the gap being filled.
The Final and most important bit... On the cell you have set this formula in, you need to right click and change the format to make the cell read the contents as HTML. This will make the magic work!
PS. This can be a pain to edit if all your accreditations have a URL, so if you need to play with it, in design mode, click a blank cell to access the code without launching yourself into some training.
Please sign in to leave a comment.