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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Custom apex_item popup_from_lov options question

Andreas WildmannMay 25 2022

Hello!
I'm currently working on a page function that creates several separate little boxes, each of them being empty at first, and then requiring a selection of data in an popup_from_lov item that will then fill the box with data derived from the picked info. Here's how it looks:
image.pngThe item in this case opens up a small modal page that has the data to be selected. The question now is, the same item and function exists in Oracle APEX, and it has an option to choose between "modal dialog" and "inline". Is there a way to set this in the parameters given to the item? I've tried something like this to no success so far, and sadly, the Oracle documentation doesn't state whether this is possible or not.
image.pngI've tried adding several manners of "inline" option in the "p_attributes" parameters, and a few others, but they've either done nothing or returned an error, because they're not supposed to receive this kind of input.
Also, currently my list of values being selected by this popup_from_lov has the settings that it should be showing several options for search, via the "Additional Columns" settings inside the List of Values page, however, only one value is being shown as searcheable.
Is there a way to achieve this multiple search in this custom apex_item.popup_from_lov?

Comments

Billy Verreynne

Follow which instructions?

How/where are you attempting to assign a schema to an Apex workspace?

What is the schema name? It is case sensitive?

Ivan2405

Managing Workspace to Schema Assignments

Under Editing an Existing Schema and Workspace Assignment.


Like I said it worked for me before every time, but since I added a new workspace, it doesn't worn on either of them.
I have APEX 4.2.2.


Shema name is CM, everything is in capital letters.


Regards,

Ivan

Billy Verreynne

Not an easy error to resolve as it does not seem to be related to user input.

The error library says:

44003, 0000, "invalid SQL name"
// *Document : Yes
// *Cause    : The input parameter string was not a valid simple SQL name.
// *Action   : Check with the DBMS_ASSERT spec to verify that the parameter
//             string is a valid simple SQL name.

Cannot recall running into this exception myself. But it likely is a result to a cursor parse - which implies the error is a result to a dynamically created SQL by Apex.

This should not happen - unless there are something missing or misconfigured in Apex (assuming you have not run into an unknown bug).

I suggest you try manually (via SQL*Plus) using an Apex API call. See APEX_INSTANCE_ADMIN. If this throws an exception, we should have an error and call stack that will provide additional details as to what went wrong where.

Ivan2405

Thanks Billy!

I managed to add the schema to workspace this way, but the error still persists.
I guess I'll just have to it this way from now on...

Regards,

Ivan

1 - 4

Post Details

Added on May 25 2022
6 comments
489 views