oracle-apex

APEX dynamically define default filename?

Deadly 提交于 2019-12-11 10:58:16
问题 In an APEX application, I have an interactive report. In Report Attributes > Report Export > Filename , you can specify what file name you the download to have as a default. Question: Is there a way to dynamically define this default filename? Yes, I know, the user can change it when they do the download. But my boss wants the user to not to have to change the file name. What can anyone tell me? Thanks!! APEX 4.2 Windows 7 IE 11 回答1: Yes you can do this. Create a hidden page item (e.g. P1

Accessing joined elements

旧城冷巷雨未停 提交于 2019-12-11 09:38:17
问题 Below code works when SELECT is working only with CELLS table. However, when there is join from multiple table, below type is no more suitable. PROCEDURE drawComponent(title IN VARCHAR2, tbl IN VARCHAR2, link IN VARCHAR2) IS TYPE ref_typ IS REF CURSOR; var_ref ref_typ; rec CELLS%ROWTYPE; BEGIN OPEN var_ref FOR 'SELECT CELLS.ID as CELLID, CELLS.NUM as CELLNUM, CELLS.' || link || ' as ID, ' || tbl || '.REMOVED as REMOVED FROM CELLS LEFT OUTER JOIN ' || tbl || ' ON CELLS.' || link || ' = ' ||

Oracle APEX Database Trigger - Problems with referencing database columns

家住魔仙堡 提交于 2019-12-11 08:58:00
问题 I have a colon delimited list of values being stored in a varchar2 column, ORDER_PARTS_LIST , of my Oracle database. (I understand that storing data in a list like this might not be best practice but for now just ignore that fact.) Here are the relevant table columns: ORDER_TABLE( ORDER_NUMBER number, ORDER_PARTS_LIST varchar(4000)) PARTS_TABLE( PART_NUMBER varchar(20), ASSIGNED_ORDER_NUMBER number) I have a conditional trigger: create or replace trigger "ORDER_PARTS_T1" BEFORE insert or

Apex 5/Universal Theme - Cant create a carousel region with slides

℡╲_俬逩灬. 提交于 2019-12-11 08:06:36
问题 I'm trying to create a carousel region in Oracle Apex 5 and am struggling. What I have tried so far is to create a "Static Content" region with a template of "Carousel Container" containing some sub regions in the "Slides" section of the layout. This does not work. When I run the page I don't see any carousel controls in my region, instead I just see what looks like standard nested regions. What am I missing? It feels like this should be a straightforward thing to achieve, but I've struggled

Setting focus to a previously selected row in IG after Page Submit

血红的双手。 提交于 2019-12-11 06:36:54
问题 Here is basically how it looks: Whenever I select one of the rows on the Interactive Grid on the left, a "Selection Change [Interactive Grid]" dynamic action triggers and loads some information on the Interactive Grid on the right side. I can add new rows on it, and I'd like that, after I click on "Save" (not shown on the picture, but it's a bit above the "Copy" button), a dynamic action triggers on Page Load and selects the row on the left Interactive Grid that was previously focused. I

How to identify the current row in an Apex Tabular Form?

て烟熏妆下的殇ゞ 提交于 2019-12-11 06:08:58
问题 Friends, I have written the following JavaScript to ascertain which row of an tabular form the user is currently on. i.e. they have clicked a select list on row 4. I need the row number to then get the correct value of a field on this same row which I can then perform some further processing on. What this JavaScript does is get the id of the triggering item, e.g. f02_0004 This tells me that the select list in column 2 of row 4 has been selected. So my Javascript gets just the row information

Access Oracle Apex from remote machine

依然范特西╮ 提交于 2019-12-11 05:23:30
问题 Hi all I have successfully installed Oracle 11g Express addition on a Linux VM (google cloud compute) I have sqlplus working and I can query data. The listener is also working. But as there is no GUI with Linux servers I cannot try local host and external machines have the connection refused. My Questions are: 1) Does Apex come pre-installed on Oracle XE it used to but not mentioned anywhere. 2) if the ip address of the server is 123.123.123 what url would I use to get to apex from a remote

APEX: Redirect after login to a page with arguments

与世无争的帅哥 提交于 2019-12-11 05:20:33
问题 this in the normal login proccess page wwv_flow_custom_auth_std.login( P_UNAME => :P101_USERNAME, P_PASSWORD => :P101_PASSWORD, P_SESSION_ID => v('APP_SESSION'), P_FLOW_PAGE => :APP_ID||':1' ); that redirects to page 1, my problem is that i want to redirect to page 1 but i want to pass some values like CURRENT_NODE_ID,P1_ID width zero like the example above f?p=104:1:708914681153727:::CIR:CURRENT_NODE_ID,P1_ID:0,0 is this possible to do in wwv_flow_custom_auth_std.login function? or is there

Saving pagination in Oracle Apex Interactive Report

一世执手 提交于 2019-12-11 05:14:31
问题 Recently I've come across the problem in Oracle Apex 4.2.0003 with saving pagination in Interactive Report. I have a page, in which there are two reports: the first one is Classic, and the second one is Interactive, at that they are working as "master-detail". Besides, Interactive report has both data from a view and HTML-elements like icons with links to modal or pop-up windows. All in the page works fine except one thing: refreshing of it leads to resetting the pagination of "detail"

APEX 5.1 autorefresh Region with variable refresh time

女生的网名这么多〃 提交于 2019-12-11 04:52:56
问题 P998_SESS_INFO is my classic report P998_REFRESH is hidden item P998_REFRESH_RATE is LOV with static values of STATIC: 10 Sekunden;10000, 20 Sekunden;20000, 30 Sekunden;30000 I define a dynamic action of type java script expression on change set value for P998_REFRESH : $x('P998_REFRESH').value = $x('P998_REFRESH_RATE').value; HTML Header: <script type="text/javascript"> var interval = `$`v("P998_REFRESH"); // refresh every 10 seconds setInterval("jQuery('#P998_SESS_INFO').trigger(