Search This Blog

Friday, September 23, 2011

Embedding Pagelet to a Page

Never tried embedding the Pagelet to a page before. I have tried it on the home page or under a component. For those who have not tried this; below are the steps to do it.

Create a pagelet and publish it on the home page tab.



And make sure on the 6th step; that is on the publish pagelet step; to check the embedd pagelet option.



Now use the following code and place it under the event you like.

import PTPPB_PAGELET:*;
Local object &PWAPI, &Pagelet;
&PWAPI = create PTPPB_PAGELET:PageletWizard();
&Pagelet = &PWAPI.getPageletByID("ASDASD", False);
AMM_DERIVED.HTMLAREA = "
" | &Pagelet.Title |
"
" | &Pagelet.Execute() | "
";


AMM_DERIVED.HTMLAREA is the HTML area that you place on the page to display the embedded pagelet.

And the pagelet on the page will look like the one below.



Interesting right? Try it out!

Thursday, September 22, 2011

Implementing Related Content

Just tried out implementing the same and it worked out well. Below are the steps to do the same.

Go to PeopleTools > Portal > Related Content Service > Define Related Content Service to create a new Related Content Service.

You can select the URL type you like. I selected the Pagelet type and provide the pagelet name in the URL information scroll. I wanted that Pagelet to appear as the realted content data.

Security option you can select either the public access or the available one. In case of Related Content Security check box, please refer to Peoplebook on how to do the same.




Now go to PeopleTools > Portal > Related Content Service > Manage Related Content Service.


Here you will assign the Related Content to your desired component/page. In the screen shot below, I mapped the related content to the page not to the component. To ensure security go to the Map Fields link and save.





Now you can navigate to the component where you mapped the Related Content. On landing to that component you can see a related content drop down on the upper right portion of the page. Click on the same to view the Related Content you mapped.


You can expand and collapse the Related Content section as you wish.

Wednesday, September 21, 2011

Pop up feature



You might have seen the above pop up in the JOB data page. Wanted to look into this long time back; just today I thought of the same and looked into it.

It is fairly simple thing. Go to the employee field on the job_data1 page and navigate to the use tab in the definition property; you can see the popup page assigned.



I just created a pop up page and assigned to the emplid field to test it and it worked perfectly well.







As you see the feature is easy to implement. However its effectiveness depends on how we use it.

Thursday, September 15, 2011

New PIA Installation

Requirement can happen for creating additional PIA's for the exisitng PS HOME. How to do it. Below are the steps to create the same.

1.Log on to the app server box
2.Shut down PIA
3.Go to C:\PSOFT\HRSA90\setup\mpinternet and run Setup.exe (If you are on windows) and follow the screenshots below:














Be sure to select "Existing Weblogic Domain" when you get to the "Select domain type" step.

Be sure to select "Install additional PeopleSoft site" when you get to that point.





The website name should be _pwd, for example:Please specify a name for the PeopleSoft web site:Website name:[ps] ps_pwd



Enter the same app server and port number as the primary website. To get this use PeopleSoft trick [CTRL+J]



For web profile name, enter the same web profile that is created for this PIA.
To create it go to PeopleTools > WebProfile > Copy webprofile. You can clone any web profile and provide that name here. In this case 'NEW' is the name of the new Web Profile created.






Once you reach the above step, click Install button to create the site.

You would not be having a seperate bat file for Start and Stop PIA.

Now to check the new PIA, Start the AppServer and modify the old PIA login link.

Old PIA will be looking like this: http://localhost/psp/ps/?cmd=login

New PIA: http://localhost/psp/ps_new/?cmd=login


To view the Login page (Signin.html) for the old and new PIA's; navigate to \webserv\peoplesoft\applications\peoplesoft\PORTAL\WEB-INF\psftdocs

Tino Simon