oracle-apex

Open modal dialog through JavaScript Oracle APEX

安稳与你 提交于 2019-11-30 19:11:45
问题 I am trying to open a modal dialog page through a JavaScript redirect URL. My code is like this: $('#Subnet tr').each(function (i, row){ var $row = $(row); var $hostname = $row.find('[headers=Hostname]'); if($hostname.text() == '-'){ var url = "f?p="+$v('pFlowId')+":113:"+$v('pInstance')+"::::P113_SUBNET_ID:"+$row.find('[headers=ID]').text(); $hostname.html("<a href='"+url+"'><span class='fa fa-plus-square-o'></span></a>"); console.log($row.find('[headers=ID]').text()+ ' / '+$row.find('

Oracle Apex 18.1 Interactive Grid (IG) Setting filters programmatically? Customizing IG Search

点点圈 提交于 2019-11-30 18:56:55
问题 Is there a way to set filters for an IG in Oracle Apex via an Javascript or PL/SQL API? Doing my research i stumbled across APEX IG Cookbook for 5.1.4 or some Blogposts How to hack APEX interactive grid series for customizing IGs with Javascript. So setting filters similar to the PL/SQL APEX_IR.ADD_FILTER Proceedure where you can set filters for an interactive Report (IR) the column name, operator and filter value should be possible. I figured out the name of the internal tables, where the

PL/SQL - comma separated list within IN CLAUSE

…衆ロ難τιáo~ 提交于 2019-11-30 07:42:19
问题 I am having trouble getting a block of pl/sql code to work. In the top of my procedure I get some data from my oracle apex application on what checkboxes are checked. Because the report that contains the checkboxes is generated dynamically I have to loop through the APEX_APPLICATION.G_F01 list and generate a comma separated string which looks like this v_list VARCHAR2(255) := (1,3,5,9,10); I want to then query on that list later and place the v_list on an IN clause like so SELECT * FROM users

Why use Oracle Application Express for web app?

我是研究僧i 提交于 2019-11-29 19:43:14
I believe we're moving to Oracle Apex for future development. I've read about Oracle Apex on wikipedia and it's pro and con. It seem to me the con outweigh the pro but maybe I'm wrong. I get the sense that Oracle Apex is for DBA with little or no programing knowledge to setup a web app quickly sort like MS Access for none programmer. If you have Oracle Apex working experience, can you share your thought? From Wikipedia's entry, it doesn't seem like you need to know any programming language at all but just the PL/SQL? edit: Is Oracle Apex scalable? Can it handle traffic like Facebook's size?

PL/SQL query IN comma deliminated string

夙愿已清 提交于 2019-11-29 19:21:17
问题 I am developing an application in Oracle APEX. I have a string with user id's that is comma deliminated which looks like this, 45,4932,20,19 This string is stored as :P5_USER_ID_LIST I want a query that will find all users that are within this list my query looks like this SELECT * FROM users u WHERE u.user_id IN (:P5_USER_ID_LIST); I keep getting an Oracle error: Invalid number. If I however hard code the string into the query it works. Like this: SELECT * FROM users u WHERE u.user_id IN (45

PL/SQL - comma separated list within IN CLAUSE

冷暖自知 提交于 2019-11-29 05:19:24
I am having trouble getting a block of pl/sql code to work. In the top of my procedure I get some data from my oracle apex application on what checkboxes are checked. Because the report that contains the checkboxes is generated dynamically I have to loop through the APEX_APPLICATION.G_F01 list and generate a comma separated string which looks like this v_list VARCHAR2(255) := (1,3,5,9,10); I want to then query on that list later and place the v_list on an IN clause like so SELECT * FROM users WHERE user_id IN (v_list); This of course throws an error. My question is what can I convert the v

How do you add an edit button to each row in a report in Oracle APEX?

让人想犯罪 __ 提交于 2019-11-29 04:06:41
I'm using Oracle APEX and I have a report region in a page that displays columns from a SQL query. I want to add edit buttons to the first column of this report so that the user can click on it and edit/review one of the results. How do I add this edit button? Thanks. Tony Andrews Add a column to the SELECT statement of the report like this: SELECT '' edit_link, -- This is the new column ... Go to the Report Attributes tab. Move the new column EDIT_LINK to the top of the list of columns (if you want it to be first). Click on the pencil and paper icon to the left of the EDIT_LINK alias to open

Create xls file using PL/SQL without going through xml

假如想象 提交于 2019-11-28 05:25:43
问题 My system is developed in APEX/Oracle 11g, and I want to create an xls file directly without having to create an xml file. The system currently creates an xml file which can then be saved to xls format, but the user, who is very picky, does not like the Windows 7 warning when one tries to open the xml file (Excel warning that the format of the file does not match its extension). Is there any way to use Oracle PL/SQL from within APEX to accomplish this? 回答1: Morten Braten has put together a

How do you add an edit button to each row in a report in Oracle APEX?

对着背影说爱祢 提交于 2019-11-27 18:09:24
问题 I'm using Oracle APEX and I have a report region in a page that displays columns from a SQL query. I want to add edit buttons to the first column of this report so that the user can click on it and edit/review one of the results. How do I add this edit button? Thanks. 回答1: Add a column to the SELECT statement of the report like this: SELECT '' edit_link, -- This is the new column ... Go to the Report Attributes tab. Move the new column EDIT_LINK to the top of the list of columns (if you want

APEX - Creating a page with multiple forms linked to multiple related tables… that all submit with one button?

烈酒焚心 提交于 2019-11-26 23:05:48
问题 I have two tables in APEX that are linked by their primary key. One table (APEX_MAIN) holds the basic metadata of a document in our system and the other (APEX_DATES) holds important dates related to that document's processing. For my team I have created a contrl panel where they can interact with all of this data. The issue is that right now they alter the information in APEX_MAIN on a page then they alter APEX_DATES on another. I would really like to be able to have these forms on the same