Name
sn_employee.ep_Constants
Description
script include for all Employee Profile constants
Script
var ep_Constants = Class.create();
ep_Constants.HR_FIELDS = ["employment_start_date", "employment_end_date", "work_phone", "work_mobile", "location_type", "position_type"];
// Scheduled jobs
ep_Constants.JOB_GENERATE_PROFILES_FROM_USERS = "4e996095773330108f64b2487b5a9976";
ep_Constants.JOB_GENERATE_PROFILES_FROM_HR_PROFILES = "4f3112170708c1108d6d78e99cd300bb";
ep_Constants.JOB_DOMAIN_GENERATE_PROFILES_FROM_USERS = "d0b5c81dc3140110069aec4b7d40dd42";
ep_Constants.JOB_DOMAIN_GENERATE_PROFILES_FROM_HR_PROFILES = "b6bb8225c3500110069aec4b7d40dd70";
ep_Constants.prototype = {
type: 'ep_Constants'
};
ep_Constants.defaultEmployeeProfileBanner = "66085cf9079401108d6d78e99cd30048";
ep_Constants.PUBLIC_FIELD_USER_PREFERENCE = 'employee_profile.public_fields';
ep_Constants.WIDGET_VISIBILITY_USER_PREFERENCE = "employee_profile.widget_visibility";
ep_Constants.OVERRIDABLE_WIDGET_VISIBILITY = ['employee_only', 'employee_and_manager', 'everyone'];
ep_Constants.ACCESSIBILITY_MSGS = {
"employee_only": gs.getMessage("only you"),
"manager_only": gs.getMessage("only your manager"),
"employee_and_manager": gs.getMessage("you and your manager"),
"user_criteria": "",
"everyone": gs.getMessage("everyone")
};
ep_Constants.VISIBILITY_OPTIONS = [{
"value": "employee_only",
"label": gs.getMessage("Only you")
}, {
"value": "employee_and_manager",
"label": gs.getMessage("You and your manager")
}, {
"value": "everyone",
"label": gs.getMessage("Everyone")
}];
ep_Constants.OOB_PROFILE_TAB_IDS = ["4eb3ab8f774521108f64b2487b5a99aa", "d9c67a7151286510f877a15dbdb67e65", "81d32f8f774521108f64b2487b5a9959", "57d3a3cf774521108f64b2487b5a9925"];
Sys ID
b08d2726779230108f64b2487b5a99ac