The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Monday, 1 August 2016

Adding your own custom logic without customizing the delivered people code

Yes you have read it right. With the release of People Tools 8.55, you could customize (append would be more appropriate term) the delivered application without having to touch (or customize) the Oracle delivered people code.

Customizing the delivered code was always a pain point when the application maintenance team is considering an upgrade or applying any patch provided by Oracle. The maintenance team always have to look at the code conflicts, apply patches/upgrade, re-customize the application, re-do the custom and delivered test cases and so on. Just a single line of custom code in the delivered application may force you to take through all these steps.

With People Tools 8.55, The Related Content Configuration setting is expanded to add a new tab labeled “Event Mapping” where in you could actually map your custom written people code to a delivered people code event. All this is done through PIA and the major point to highlight here is that this is not considered as a customization and the delivered code will execute as it is in addition to your custom code. This directly means you can now apply patches and upgrades with much simpler process.

Although it now allows you to map your people code before/after the execution of a delivered people code event, this won’t allow you to change/modify the actual delivered code. If you really have to do that, then you can append your people code which first reverses the delivered logic and then implements your logic. Another limitation to note here is that right now only select few events are available for extension. Having stated that, with the current capabilities alone, you will be able to remove customization of a major part of your customizations.

Let me move on to the technical implementation of the Event mapping. As the name suggests you will be mapping your people code to a delivered event. And how that is done is via a Related Content Definition of type Application Class. The step by step process of how this can be done is listed as below.

Step 1: Create an application class which implements the delivered app class PT_RCF:ServiceInterface

Step 2: Create a method name execute() and write your custom logic inside that method.

import PT_RCF:*;
class Hello_World extends PT_RCF:ServiceInterface
   method execute();

 method execute
   /+ Extends/implements PT_RCF:ServiceInterface.execute +/
WinMessage(“Hello World”,0);

Step 3: Create a Related Content Definition with Type Application Class and select the application class you have created now.

Main Menu > People Tools > Portal > Related Content Service > Define Related Content Service

Related Content Definition

Step 4: Go to Manage Related Content Service page and select the last Tab “Event Mapping”

Main Menu > People Tools > Portal > Related Content Service > Manage Related Content Service

Select the component to which your code need to be mapped by clicking on the hyperlink “Map the event of the Application pages” and select your component from the Tree Structure.

Step 5: Now you will see two grids on the Event Mapping page. The top grid will corresponds to Component Level people code events and the bottom grid corresponds to Component Record Level people code events.

For this example let me configure/add custom code to the Post Build event of the component. So I select the event “PostBuild” on the top grid and select the service ”HELLO” created in the previous steps. Now we have two options for the processing sequence which determines whether your code needs to be executed prior to the delivered code or after the delivered code.  I am selecting “Post Process” which means my custom code will be executed after the delivered people code on that event.

Related Events Mapping

Step 6: Test your application. Open the component and see your Hello World message popping up.

Customizing the delivered application code has become a less effort task now. This new feature allows you to add your own organization specific code while enjoying the benefits of the fixes and enhancements derived by the Oracle. This is completely a non-destructive approach and I believe this will add a lot of value to your organization as well. 


  1. its really a good feature!


  2. اعالى الخليج تقدم افضل خدمات نقل العفش الدولى المتميزه باسعار متميزة ومنها :

    شركة شحن عفش من الرياض الى دبي
    نقل عفش من الرياض الى الاردن شحن عفش من الرياض الى الاردن

  3. I am impressed. I don't think Ive met anyone who knows as much about this subject as you do. You are truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. Really, great blog you have got here. anchor

  4. Thanks for your insight for your fantastic posting. I’m glad I have taken the time to see this. Custom Patch Maker

  5. including Cisco, Sophos, Aruba, and SonicWall. Trust the experts are AllSafe IT to deliver your next IT Project on time and under budget. it consulting los angeles

  6. For understudies, weaved patches say something. There are various explanations behind patches for a wide range of individuals. check this out

  7. These days, dresses are being made for each sort of ladies. Notwithstanding, rather than purchasing customary and normal looking dresses, one can wear a dress that is genuinely customized to oneself or the individual that one decides to provide for. houston embroidery

  8. I exactly got what you mean, thanks for posting. And, I am too much happy to find this website on the world of Google. shoulder clutch bag

  9. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. Kpop album buying and forwardingg

  10. Thank you for very usefull information.. pack

  11. **There are so many wonderful reasons to find the time to write. You wonder why I say find the time to write? You have to really enjoy writing at the very onset of doing your craft. It should not be seen as a chore or a bore. NO! Writing is much more of a passion, mission or a calling. Be prepared to enjoy your writing mainly for your own self-satisfaction. Make the time to write because it is making time for you to spend in your own thoughts and to have a conversation between your higher self and your ability to speak with clarity. Maybe to an audience of readers if that's what you choose to do.The hard, cold reality is that unless enough people, companies and freebies have been given out, not free to you the writer, free for the entities that want and need the freebies, writers' get exploited a lot- Writers crave the recognition of an audience, need to pay their dues and sacrifice their time and effort to gain readers.. At least that's part of the many lies that I was told about being a writer. To that I say: NONSENSE!

  12. It is truly a well-researched content and excellent wording. I got so engaged in this material that I couldn’t wait reading. I am impressed with your work and skill. Thanks. more info

  13. llo there mates, it is incredible composed piece completely characterized, proceed with the great work always. more info

  14. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. custom made patches

  15. I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. custom made velcro patches