Quick Links – Dynamic Cell Data
This functionality exists for the Quick Link cells for Time Off, Pay, Growth, and Engagement.
The function works by finding the cell that contains an <a>
tag with the
matching element ID. For example, <a id="growth">
.
Data is set by the hcm.util.populateLinks
function in the
<head>
section of the template HTML file. If this line of code is
removed, the Quick Link cells use the static text that is in the HTML file.
You can enable or disable the cells individually by changing the values from
true
to false
.
The code for hcm.util.populateLinks
can be found in
chpUtil.js
, which is in HomePages/js.
For example:
hcm.util.populateLinks({
time: true,
pay: true,
growth: true,
engagement: true
});