oracle-apex-5.1

Oracle apex 5.1 calling interact grid inside modal dialog

*爱你&永不变心* 提交于 2020-01-24 01:56:26
问题 I have an oracle apex interactive grid region. I want to call this region in a modal dialog box while clicking a button. The template of the region is set to 'inline dialog'. I have set a static id to the region which is used for calling this region from javascript(code- javascript:openmodal('edit') ) while button click. It works well if the region is interactive report but do not work with interactive grid. Any solution? 回答1: 1 CLIC IN REGION 2 CLIC IN ATTRIBUTES 3 FIND AND CLIC HEADING 4

Apex 5.1 interactive grid hiding toolbar buttons

做~自己de王妃 提交于 2020-01-14 03:30:11
问题 Is it possible to allow add and save actions but hiding the "add row" and 'edit" buttons in the grid toolbar? When I tried unchecking those buttons I was not longer able to add data to the grid progrmmatically. How can I allow adding multiple rows programmatically and having "save" button but hiding "add row" and "edit"? 回答1: Try to add this css to your page: #myStaticIgId button[data-action="selection-add-row"], #myStaticIgId div[data-action="edit"] { display: none !important; } 来源: https:/

How to display a plsql error message with dynamic action

ぃ、小莉子 提交于 2020-01-14 03:19:40
问题 I have a plsql that returns a single row and I am executing it by dynamic action, I want to show different error messages by means of APEX_ERROR.ADD_ERROR in case there is no value. Apparently, all the code is correct, but in case of error, it does not show any message. note: the dynamic action is by pressing a key Condition on the client side javascript = // Enter key this.browserEvent.which === 13 do not submit page. I do not know if the approach is wrong and you can achieve a better way.

How to insert base64 encoded img src attribute into table in Oracle and then display it on the page in Oracle apex

天涯浪子 提交于 2020-01-06 05:27:09
问题 My requirement is to insert img src values into table and then display in on the apex page. How can I do that? I have created a function which inserts the img src into CLOB column But incase the length exceeds 32000 it doesnt insert it to the CLOB column 回答1: The fact that your data is getting truncated at 32000 characters (probably actually 32767) means you have some intermediate VARCHAR2 . Other than that, there's not enough information here. Once you get your base64 encoded data, to

Having issues redirecting to another page on closing of modal dialog page

我怕爱的太早我们不能终老 提交于 2020-01-05 07:10:29
问题 I have page 1 from which I open a modal dialog page - page 2. Now when I close the modal dialog, I want to be redirected to page 3. On page 2 I have a button that has a dynamic action defined where on button click two actions take pace: Page Submit (with an after submit branch out to page 3) and Close dialog. Once I click on the button, dialog closes but the user stays on page 1, not going to page 3. 回答1: If you have branch, you don't need to close dialog.. Another option is to travel through

How to create view using dynamic action in APEX oracle?

送分小仙女□ 提交于 2019-12-24 08:48:21
问题 I created a procedure to create a view dynamically using a shuttle item in APEX that returns the colon separated values. Here's the code to create it. create or replace procedure create_temporary_view (input_employees in varchar2) is begin execute immediate 'create or replace view temp_batch_id as with emps(shuttle_item) as (select '''||input_employees||''' from dual) select regexp_substr(shuttle_item, ''[^:]+'', 1, level) batch_id from emps connect by level <= regexp_count(shuttle_item, '':'

ORA-01403: No Data Found when working with Master-Detail IG in Oracle APEX

做~自己de王妃 提交于 2019-12-24 05:17:07
问题 In Oracle APEX 5.1, I have an Interactive Grid Master-Detail page. The following series of steps (which users sometimes take) creates an unhandled exception (ORA-01403: no data found). User creates an invalid record in the master section and a corresponding record in the detail section. User attempts to save (row processing) and receives error due to invalid master record. Without deleting the invalid master record, user activates filters which remove invalid master record. User makes (valid)

How to append a string to where clause in APEX Interactive Report SQL

回眸只為那壹抹淺笑 提交于 2019-12-23 02:40:06
问题 I am a newbee in Apex and I am using apex 5.1.3. I am creating a report through sql query and where clause of the query should be dynamic which needs be taken from another table column. On page load i loaded this where condition string from table and set that as page item :P5_NEW I tried like this: select * from EMPLOYEES where :P5_NEW Page item :P5_NEW contains the string which should be appended to where clause. But apex throws error ORA-00920: invalid relational operator . Can some one

How can I extract only the error message from xml result

半腔热情 提交于 2019-12-13 03:29:18
问题 How can I extract the value from the label VertexApplicationException and User login failed. from below xml result? Inside my package, i am using 'make request api' call to get tax value calculated from vertex, sometimes i am getting error as response for my api call, now i need to store the response in table but only i need the error message ex: VertexApplicationException and User login failed. from the belowgiven xml response tag <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope

Oracle APEX adding a conditional filter to a query

大憨熊 提交于 2019-12-13 02:59:22
问题 How can I add a conditional filter to a query? I have a dropdown on the page and I want to filter the report query based on dropdown selected value. I am fine with that part (just add the item name to the query preceded by a column), but the things is that I want the filter not to be added if nothing is selected in the dropdown. how can that be accomplished? Update: Example of the WHERE clause: WHERE ID=5 AND START_DATE=SYSDATE-:P1_NUM_OF_DAYS if P1:NUM_OF_DAYS has been selected and if not,