Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dynamic UI Input List

Epic FailJun 8 2020 — edited Jun 9 2020

Running Apex 18.1

I have a 1:Many relationship and I'm wanting to let the user input the parent and children simultaneously. (example would be posts -> tags) I'm wanting to do this the same way apex does the "Link Builder" "Set Items" section.  When the user enters the first "Tag" I want a new row created with a new element and a new remove button created for the next "Tag".  I was wondering if anyone knows how this is could be done.  I was thinking APEX_ITEM but that doesn't appear to be the recommended method.

Comments

jariola

Epic Fail wrote:

Running Apex 18.1

I have a 1:Many relationship and I'm wanting to let the user input the parent and children simultaneously. (example would be posts -> tags) I'm wanting to do this the same way apex does the "Link Builder" "Set Items" section. When the user enters the first "Tag" I want a new row created with a new element and a new remove button created for the next "Tag". I was wondering if anyone knows how this is could be done. I was thinking APEX_ITEM but that doesn't appear to be the recommended method.

I'm not familiar what is "Link Builder" in APEX. Could you point me to document or give steps how navigate there?

Have you think just using e.g. popup lov that allow multiple values?

First insert parent record, then process popup lov values . You can use apex_string.split to save popup lov values as rows.

You can check more detail what I mean if download and install https://github.com/jariolaine/apex-blog

Epic Fail

Anytime you make an element on a page link to another page and you click the target button in the link section it will bring up the "Link Builder". I'm going to include a picture to make it more clear.

Capture.PNG

A LOV will not work because I am allowing the user to enter whatever term(s) they want.

Epic Fail

Found a solution. Rodrigo Mesquita created the following plugin.

https://github.com/rodrigomesquitaexplorer/APEX-MultiRow-Item-Plugin

1 - 3

Post Details

Added on Jun 8 2020
3 comments
185 views