PeopleCode PeopleTools

Populate Multiple Grids on a same Page with diff output based on conditions.

Hi To Populate Multiple Grids from one main record
Two Grids are on a same page with a same main record and different page field name.
I would like to populate two grids independently from one record based on conditions, but not sure on how we can distinguish between grid names.
I under GetGrid, but how we can write under IF condition.
The outcome of below code is it's populating both grids based on the last rowset result and not by specific Grid

Below is my code under field Change.

Local Rowset &Level0wk, &Level0wk1, &firstGrid_RS, &SecondGrid_RS;

Is it possible to override the SMTPServer value (set in the config file) when using the PeopleCode SendMail Function?

Hi all -
I have the need to pass another SMTP Server value when running an Application Engine program. Since this value says "Dynamic change allowed", it seems like this might be possible? Has anyone done this??

; Dynamic change allowed for SMTPServer

Thanks in advance!!

Mark worked in Worklist page

Hi All,

I'm facing an issue in the worklist page
Current Enivorment is PeopleSoft HRMS 8.8
Description of the problem

After submitting a Adhoc Salary Change request, the workflow is routed correctly to the approver via. AWE.

Email notifications are getting triggered properly but a weird thing is happening when it comes to the worklist part.

On clicking markworked it is deleting worklists from his worklist only . My requirement is to delete worklist from all other Users.

When plotting data in charts ,how to show the data values at each point ?

There is a chart method SetDataHints() in peoplesoft which shows the values of the charts plotted.But these pop-up menu appears when the cursor hovers over any data value.I want that this data values should be displayed as soon as the data is plotted.Is there any way to do this.

I have attatched the DataHint example and what i want.

Email Templates

Hi All,

Can you pls tell me how to use email templates in PeopleCode? What are the functions using which we can incorporate template in PeopleCode?

ok and cancel buttons in winmessage

Hi all,

I have one requirement in employeeselfservice>benefits>canadian benefits page
when user navigate to this page it is taking more than one minute to to load the benefits data .until the page is loaded a blank screen is displaying .so customer is unable to understanding wheather the page is loading or not. and also search page is disabled.

for this we put the winmessage function in search init below
winmessage("page is processing press ok to continue") but the message is displaying with two command buttons ok and cancel.

regarding the ok cancel buttons in winmessage.

Hi All.
Iam having a question on winmessage as follows,
In employee self services am having benefits folder in that am having few componenets. If we press on this components, search page is disabled and it opens directly user page. but the user page is taking almost one min to display, untill that it is showing white screen wiht out indicating any thing like processing blink at the ringt top of the page. it is confusing the users, weather the page is working or not. so for this i displayed a winmessage as follows
If %Component = Component.BENEFITS_SUMM_CAN Then

Inserting into job data manually

Could you provide me with a list of things to keep in mind when manually inserting to job data like PS_JOB?

Also, what are all the tables affected when manually inserting to job data?

Hope you could help me. Thanks.

Opening a component on log on

I have a requirement to open different components based on the operator logging in.
There are 3 sets of users and each need to be taken to 3 different components. The users do not want the home page to be displayed.

I would think this needs to be done through Peoplecode.

What will the peoplecode be? and where should the peoplecode be placed ?