Skip to Main Content
Feature Request FR-1983
Product Area Application Builder
Status ROADMAP

34 Voters

Incorporate Dynamic Actions into actions in the Cards region

robert_antoni792012 Public
· Sep 22 2021

Idea Summary
Allow adding dynamic actions to the actions(full card,buttons,media,title,subtitle) of the card region to execute declarative actions such as hide, show, set value, and JavaScript and PL / SQL code.

Use Case
Click on the action button of the card and add a member of APEX_COLLECTION.

Click on the action button of the card region  and refresh the any region.

Preferred Solution (Optional)

Comments

Comments

  • john.snyders APEX Team OP 3.8 years ago

    yes and should be more general than just cards region and needs to be simpler to get context information from the card/item and use it in the DA actions.

  • robert_antoni792012 OP 3.8 years ago

    Yes, I agree with your comment, its necessary to be simpler to get information from the card.

  • robert_antoni792012 OP 3.6 years ago

    By adding dynamic actions declaratively  to card actions, the development possibilities would be expanded, for example, by clicking on an action on a card to be able to set the value of one or more elements on a page or region based on the data contained in the card, and that access to these data is easy.

    Another application case: counting the occurrences when clicking an action button on the card and setting this value to another element.

  • ino.laurensse OP 3.6 years ago

    You can add a card DA by using a jQuery selector, but adding DA declaratively is indeed preferred. It is very common to do something else than going to another page.

  • geert.engbers OP 3.6 years ago

    The limitation of only being able to navigate to another page is really very poor. I need to execute a pl.sql action and refresh the card. Without DA  all I can do is navigate to another page, do the pl.sql thing in the other page, and navigate back. This is an ugly solution.

  • bshumway OP 2.8 years ago

    @geert.engbers I've seen a developer build a whole app around this strategy. Very nasty. A JQuery dynamic action is much better… but APEX shouldn't be limited to JavaScript developers.

  • robert_antoni792012 OP 2.7 years ago

    Hello. The ideal would also be to have an action as part of a Dynamic Action that allows obtaining the values ​​that are required from a card, for example, when clicking on the card, the Get Values ​​action allows selecting the fields to retrieve and indicating the elements of destiny.

  • john.snyders APEX Team OP 2.7 years ago

    For now you can use links bound to apex.actions actions. You can get data out of the cards by referring to the column name. Example action link: “#action$update-status?id=&ID.” ID is one of the card columns. See https://hardlikesoftware.com/weblog/2022/05/05/exploring-new-apis-in-apex-22-1/ and https://docs.oracle.com/en/database/oracle/apex/22.1/aexjs/actions.html#links-section

  • nicolas pilot OP 1.9 years ago

    On the roadmap, cool.

    So I imagine that we will be able to execute Dynamic Action directly on “Link Column” on (Classic & Interactive Report) ???

    like this