/* * Install this file by adding a line to the protections table like: * list group AllUsers centralsettings //Perforce/sdp/JsApi/centralsettings.js * * You can also use different centralsettings files for different * groups of users. You would need to copy this file to make * a unique copy for each group, then modify the protections table. * For example: * list group Developers centralsettings //Perforce/sdp/JsApi/centralsettings_dev.js * list group QA centralsettings //Perforce/sdp/JsApi/centralsettings_qa.js */ function settings(key) { // placeholder for P4V tabs /* if (key == "p4v_mainTabs") { return ["p4:///files/jsapi/examples/dashboard.html"]; } */ // placeholder for P4Admin tabs /* if (key == "p4admin_mainTabs") { return ["p4:///files/jsapi/examples/dashboard.html"]; } */ // placeholder for P4Admin alerts /* if (key == "p4admin_alerts") { return ["p4:///files/jsapi/examples/js/alerts/securityAlert.js"]; } */ // placeholder for submit dialog /* if (key == "p4v_submitDialog") { return "p4:///files/jsapi/examples/submitNoFramework.html"; } */ // P4V preferences if (key == "p4v_preferences") { return "//Perforce/sdp/JsApi/p4vsettings.xml"; } } // The "settings" function is called periodically settings(P4JsApi.centralSettingsKey());
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 16784 | C. Thomas Tyler |
Routine Merge Down to dev from main using: p4 -s merge -n -b perforce_software-sdp-dev |
||
#1 | 10638 | C. Thomas Tyler | Populate perforce_software-sdp-dev. | ||
//guest/perforce_software/sdp/main/JsApi/centralsettings.js | |||||
#1 | 10148 | C. Thomas Tyler | Promoted the Perforce Server Deployment Package to The Workshop. |