Skip to Main Content
Feature Request FR-3532
Product Area Application Builder
Status CLOSED

1 Voters

When passing Page item from one screen to another it is not passing the current value of the page item (If it changed))

fnm_muzaffar2000 Public
· Dec 1 2023

Idea Summary
Clearly describe your idea and provide as many details as possible.

while passing Page Item from one form to another updated page item not passing 

Use Case
What are the use cases in which this idea useful?

We have default date as current date and user click a button to see the inventory of the specific date. If date is modified and user click on the button still data populating for the current date and it is not reflecting the update page item when passing to model window.

Preferred Solution (Optional)
How would you implement this idea? If you are not sure, leave blank.

While passing page item it should pass the latest/ updated page item value.

This is a great idea! You can already achieve this in APEX today with a slightly different approach.

Comments

Comments

  • jayson hanes Admin OP 1.6 years ago

    This is more of a “how do I?” than a new feature request. It appears that in your example, since you are not submitting nor branching, you'll need to dynamically build a url via DA onclick and then use the javascript API and pass the desired page item values.

  • sfsaleem OP 1.5 years ago

    Like Jayson hanes said, if you are not branching or submitting the page the updated value won't be sent to the next page.

    1.Create Hidden item for URL.

    2.Set its value using apex_page.get_url

    apex_page.get_url(
      p_page   => TARGET_PAGE,
      p_items  => 'TG_PAGE_ITEM1,TG_PAGE_ITEM2',
      p_values => :ITEM1VAL||','||:ITEM2VAL
    )

    3. navigate to the next page using javascript

    let url = $v("URL_PAGE_ITEM");
    apex.navigation.redirect(url);