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

Thursday, 2 May 2013

Returning to Component search page programmatically


There can be scenarios (although rare) where a user needs to be pushed back to the search page when he clicks on a button or changes some value. Sometimes there arise requirements where if user launches a component, the user should be prevented from seeing the values based on the search values he might have provided.

All these requirements boil down to the need for a method\function to which can be written in peoplecode so that if the conditions are met the user is transferred back to the component search page.

Luckily there is a built-in function delivered by PeopleSoft which handles exactly the same scenario. You can use DoCancel() function to return to the search page.

If this function is used in Component context, the user is returned to the Search page. If it is used in a menu context, then user will be returned to the menu with no active component.

Simple and easy to use function but it can solve the hardest and rarest requirement put down buy your business group.

7 comments:

  1. Exactly what I needed. Thanks for posting!

    ReplyDelete
  2. This is a fantastic website and I can not recommend you guys enough. Best Seo Tips

    ReplyDelete
  3. The central matter is that when you reevaluate your advertising methodology, strip back the onion on SEO and cautiously look at how it can help you. https://www.sandeepmehta.co.in/affordable-seo-services-delhi/

    ReplyDelete
  4. 73% of clients expressed that the data they found was reliable and precise. (Seat Internet: Search Engine Usage 2012) https://www.sandeepmehta.co.in/affordable-seo-services-delhi/

    ReplyDelete
  5. Search Engine List For many people this is important, so check out my profile:

    ReplyDelete
  6. It is important to note that some web hosts may offer you limited number of domains in one single hosting account, while some can offer unlimited. https://onohosting.com/

    ReplyDelete

Followers