This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var result = (function () { | |
// HC Client Types | |
var HttpClients = Packages.org.apache.http.impl.client.HttpClients; | |
var HttpGet = Packages.org.apache.http.client.methods.HttpGet | |
var JsonClass = Packages.jakarta.json.Json; | |
var START_OBJECT = Packages.jakarta.json.stream.JsonParser.Event.START_OBJECT; | |
// PeopleCode Types | |
var CreateSQL = Packages.PeopleSoft.PeopleCode.Func.CreateSQL; | |
var values = Java.to([null, null, null, null, null],"java.lang.Object[]"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ActivityGuideURL | |
/** &id is the Activity Guide ID from the PeopleTools Activity Guide component */ | |
method ActivityGuideURL(&id As string); | |
/** Optional online; Required if called from IB or AE; defaults to %Portal */ | |
method setPortal(&portal As string); | |
/** Optional online; Required if called from IB or AE; defaults to %Node */ | |
method setNode(&node As string); | |
/** For adding CONTEXTIDPARAMS to a URL */ | |
method addContextItem(&key As string, &value As string); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
/* Replace id with the ID of the element that you intend to update */ | |
var id = "PTCS_EVMAP_CFGS_PTCS_SERVICEID$0"; | |
var el = document.getElementById(id); | |
/* The following is the text to enter into the field */ | |
el.value = "JSM_DD_HIDE_PRNT"; | |
/* Trigger any PeopleSoft-specific change handling */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Local Message &resp; | |
Local Message &req; | |
Local IBConnectorInfo &connectorInfo; | |
Local boolean &bRet; | |
Local string &sJson; | |
Local string &sUrl; | |
REM ** IB_GENERIC predates REST. IB_GENERIC_REST is an alternative in later tools releases; | |
&req = CreateMessage(Message.IB_GENERIC); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DISTINCT PL.CLASSID | |
, PL.TREE_NAME | |
, PL.ACCESS_GROUP | |
FROM PS_SCRTY_ACC_GRP PL | |
INNER JOIN ( | |
SELECT TREE_NAME | |
, TREE_NODE /* The node currently at the top of the path */ | |
, RTRIM(REVERSE(SYS_CONNECT_BY_PATH(REVERSE(TREE_NODE), ' >> ')), ' >> ') /* Not required, but nice for troubleshooting */ PATH | |
FROM ( | |
SELECT TREE_NAME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT TREE_NAME | |
FROM PSTREEACCRECPVW | |
WHERE TREE_NODE = /* :1 replace with your record name */ 'PERSONAL_DATA' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT A.PORTAL_NAME, A.PORTAL_REFTYPE, A.PORTAL_OBJNAME | |
FROM PSPRSMDEFN A | |
WHERE REGEXP_LIKE( A.PORTAL_URLTEXT, 'c/PT_FLDASHBOARD.PT_FLDASHBOARD.GBL\?Page=PT_LANDINGPAGE&DB=HC_TL_EMP_DYN_DB') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* jsmpros.com | |
* for demonstration purposes only | |
* use at your own risk | |
*/ | |
(function () { | |
var oJetRootUrl = (function (scriptId) { | |
var mainUrl = /*window.strCurrUrl ||*/ window.location.href; | |
var parts = | |
mainUrl.match(/ps[pc]\/(.+?)(?:_)*?(?:\d)*?\/(.+?)\/(.+?)\/[chs]\//); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(!!frames["TargetContent"]) { | |
/* Classic */ | |
top.location.href = frames["TargetContent"].strCurrUrl; | |
} else { | |
/* Classic content in a Fluid WorkCenter or Activity Guide */ | |
if(!!document.querySelector(".ps_target-iframe")) { | |
top.location.href = document.querySelector(".ps_target-iframe").contentWindow.strCurrUrl; | |
} else { | |
/* Standard Fluid Content */ | |
top.location.href = strCurrUrl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://requirejs.org/docs/jquery.html#noconflictmap | |
define(['jquery'], function (jq) { | |
return jq.noConflict( true ); | |
}); |
NewerOlder