Skip to Main Content
  • Questions
  • Is there a way I can press a button on home page just after logging automatically in apex application

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Subhash.

Asked: October 16, 2017 - 7:50 am UTC

Last updated: October 18, 2017 - 1:13 am UTC

Version: 12.1

Viewed 1000+ times

You Asked

Hi,

I have an apex application https://apex.oraclecorp.com/pls/apex/f?p=32888:1:4894003287217:::::
and I want to click Search button on home page automatically every time once a user login to this application.
I need to do this to submit the values of select list item. These select list item are being used in the quires of other page.
Is there any other way I can use to submit the values of selected item from select list on every login of this application.


Thanks,
Subhash

and Connor said...

> and I want to click Search button on home page automatically every time once a user login to this application.

This is not “what” you want to do. This is “how” you want to do it.

> I need to do this to submit the values of select list item.

This gets more to the “what”. But again, it’s not about “submitting” values. In APEX, items have “session state”. Session state can be thought of as the value of an item that’s used during a page rendering or page processing.

There are various ways to set the session state of an item. Submitting the page is just one way. Another way is to use an “on load” computation or process. If this is done prior to the region rendering, then the region will use the new values when rendering.

If you only want to do this once when a user logs in, consider creating an application level (in the Shared Components) process or computation with the Point set to After Authentication.



Is this answer out of date? If it is, please let us know via a Comment

More to Explore

APEX

Keep your APEX skills fresh by attending their regular Office Hours sessions.