Showing posts with label PeopleSoft. Show all posts
Showing posts with label PeopleSoft. Show all posts

Sunday, January 24, 2010

Restore Deleted User profile : PS

while installing peoplesoft  i issued a command by mistake..

Drop user PS cascade;

its deleted all the chain records..

to restore PS user again,

for eg SYSADM/SYSADM

run the script @/script/nt/dbowner.sql;


login to datamover as SYSADM/SYSADM run the following script

INSERT INTO PS.PSDBOWNER VALUES('HRDEMO', 'SYSADM');
UPDATE PSSTATUS SET OWNERID = 'SYSADM';
UPDATE PSOPRDEFN SET SYMBOLICID = 'SYSADM1', OPERPSWD = OPRID, ENCRYPTED = 0;
UPDATE PSACCESSPRFL SET ACCESSID = 'SYSADM', SYMBOLICID = 'SYSADM1', ACCESSPSWD = 'SYSADM', VERSION = 0, ENCRYPTED = 0;


ENCRYPT_PASSWORD *;


TON!!!!

Tuesday, December 29, 2009

To Implement Logout Confirmation in Peoplesoft

While clicking the logout button in peoplesoft usually it will not ask for confirmation unless if the page is unsaved.

To implement the Logout script.

Before doing this:- 1. Make sure you know javascript.
                             2. Understand the script and the purpose.
                             3. Take a backup before modifying any delivered script.
Follow -->

PT_SAVEWARNINGSCRIPT_3.js which exist in Webserver folder.

Note:- Take backup before modifying any delivered script.

Just add the following script in the function saveWarning

var logout_rtn = true;
logout_rtn = !confirm("Are you sure to Quit. Click OK to go back, or Cancel to continue.");


pseudo code: if logout_rtn = "OK"
                              then place the Save warning Confirmation code in this. (this code is in save warning functin itself)
                     else if it is cancel
                               then put the openurl function code in this.
                    end-if;

I found this is the easiest way to do.

    
Take on!!!!!!!!!!!