oracle-apex-5

How to have static value as first value in list using JavaScript? ORACLE APEX - LOV LIST

一笑奈何 提交于 2020-01-15 18:51:53
问题 I am using Oracle Application Express 4.2 and I have an LOV (List of Values) with a list of flight numbers in a select list. This is a dynamic list of values. I want to add a static value at the top of the select list that says "Upcoming". I also want to add a static value before a specific flight in the select list that says "Past Flights". This way I can distinguish inside the select list which flights are upcoming and which are past flights. My Dynamic LOV is currently called P_100_FLIGHT

How to have static value as first value in list using JavaScript? ORACLE APEX - LOV LIST

允我心安 提交于 2020-01-15 18:51:05
问题 I am using Oracle Application Express 4.2 and I have an LOV (List of Values) with a list of flight numbers in a select list. This is a dynamic list of values. I want to add a static value at the top of the select list that says "Upcoming". I also want to add a static value before a specific flight in the select list that says "Past Flights". This way I can distinguish inside the select list which flights are upcoming and which are past flights. My Dynamic LOV is currently called P_100_FLIGHT

How to reload Oracle APEX 5.0 Tree dynamically

六眼飞鱼酱① 提交于 2020-01-15 02:35:48
问题 I need to reload full tree with new parameters when an event is triggered (say a button is clicked) an item value is set and new item value need to be used in Tree SQL. Tree nodes are not refreshing When I try to refresh tree region using "Refresh" action. 回答1: The tree widget supports a whole host of advanced operations. The problem is the apex team has never exposed these options to developers. Instead they chose to mimic the technique they used for the old tree. While that tree also

Oracle Apex 5.1: About creating an empty input form like the input form when creating table

别说谁变了你拦得住时间么 提交于 2020-01-05 05:24:26
问题 I want to create a form using oracle apex 5.1 like the image below. But I do not know how to create it. Could anyone direct me achieve this? 回答1: You can use APEX_ITEM.TEXT in your query: select empno, APEX_ITEM.TEXT(25,ename) ename, job, mgr, hiredate from emp; You have to click on column ( ename ) in Columns section of your report and set Escape special character to No . If you use Interactive report you can put HTML Expression for every column like: <input type="text" value="#JOB#"> To

oracle apex redirect to modal dialoge page from pl/sql code

主宰稳场 提交于 2020-01-05 05:08:40
问题 I have a page process in my apex page. I want to redirect to a modal dialoge page after the page process finishes. So I wrote the code htp.init; owa_util.redirect_url('f?p=&APP_ID.:34:APP_SESSION.::NO:34:P34_CODE,P34_DAY_DATE:P30_CODE.,'||:P30_DAY_DT); apex_application.stop_apex_engine; The page 34 is a modal dialoge page . Hence it shows error page 34 cannot be rendered successfully. Ensure the page template in use on page 34 is of template type "Dialog page", with appropriate JavaScript

Date picker validation in APEX 5.0

寵の児 提交于 2019-12-25 14:05:11
问题 I am new to APEX environment and need to know the ways to perform validation on date picker items. On Apex page I have 2 date pickers , start date and end date. Selecting the start and end date I'm able to get the required data on page but need to add some validations in date pickers items, say e.g I need to add validation rules for : Start date should be less than End date Start date should not be greater than sysdate One should not be able to enter invalid date format. Can anyone please

Oracle Apex 5: retain format of Interactive Report on download

删除回忆录丶 提交于 2019-12-24 15:47:04
问题 In Oracle Apex 5, a user can manipulate an Interactive Report's data with a number of actions (Sort, Filter, Group By, Control Break...). However, when the report is downloaded as a CSV only the Filter action is retained from the manipulations. How can you get the download of an Interactive Report to display the report as is? 回答1: The closest solution I could find is a plugin found on github, see Interactive Report to Excel v2 At the time, it worked for the particular report we had an issue

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)

APEX 5: How to edit dynamically chart xml?

前提是你 提交于 2019-12-24 00:46:44
问题 I am building an Apex Application with a couple of charts (html rendered barchart from the wizard). Now, I have to include two important features. Change the colour of the bars depending on the value and include some labels on top or after the bars. I know that this can be achieved by setting the option "Custom xml" to YES and editing the xml. The problem is that I have not been able to edit this dynamically. I have tried to execute a function in the xml area, but it gets interpreted as a