oracle-apex

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

Oracle Apex - Dynamically check checkbox item that is not within a report

时光总嘲笑我的痴心妄想 提交于 2019-12-23 02:39:51
问题 I have a checkbox item on my page (note: this is not inside a report) and I want to dynamically check the checkboxes when the page loads. I have a table which has all the checkbox types and a table which identifies which checkboxes that user has access to or in better terms should be checked. My question is, within an Apex checkbox item how do you tell it to dynamically check a checkbox. I have it working in a report and my query looks like this: SELECT at.name AS TITLE, CASE WHEN at.name IN

Oracle Apex: Create a progress bar when waiting result

倾然丶 夕夏残阳落幕 提交于 2019-12-23 02:31:34
问题 I create a procedure to process data. This procedure take ~1 minute to complete. How can I create a wating (progress) bar to wait for the result of procedure? Note: Now I use version 4 of Apex. Please help me the way to implement using javascript and css 回答1: Here is the easiest solution with no javascript or css. Lets say you have a button named ' P1_Submit ' which submits the page and triggers you process. Edit the button and at Action select Defined by Dynamic Action . Then create a

get the list of nodes and node-text that contains specific text using XPATH

狂风中的少年 提交于 2019-12-23 02:19:31
问题 I am playing around with parsing XML files on remote server using oracle apex and pl/sql. I use APEX_WEB_SERVICE.MAKE_REST_REQUEST to get the xml file into a clob variable and then use XPATH and XMLTable to get specific text. Here's a sample XML file that I have (note that, the original file is quite complex, this is only the representation of the content in the file): <article> <index> <term>term1</term> <term>term2</term> </index> <ul> <li>this is text with term1</li> </ul> <p>this is

Oracle Apex 5 Opening page in new window

别说谁变了你拦得住时间么 提交于 2019-12-22 23:28:20
问题 I am using Oracle Apex 5. On the page i have two items that are filled out (dynamic actions automatically refresh an interactive report based on the values of those two items). Also i have a button PRINT which is supposed to open a new page and send the values of the two items. Since i want this new page to open in a new window(tab) i am doing it by making the action of the button redirect to url and entering this Javascript in the url: javascript:var myWindow = window.open('f p=800:105:&APP

Oracle Apex Set values before moving to another page, Items are all null

不想你离开。 提交于 2019-12-22 16:43:25
问题 I am trying to do the following: Anonymous user with a unique key enters a code and clicks 'Start Survey' The button needs to call a plsql process to populate some hidden page items. Once the values are set branch to the survey page which will use the hidden items for filtering results. The Problem No matter what I have tried so far the items set by the process are null when I get to the next page. I assume this is because it did not submit. The way I have it at the moment is: Button

APEX_MAIL.SEND function not working though its not giving any error

家住魔仙堡 提交于 2019-12-21 17:58:50
问题 Have to send email from oracle apex using APEX_MAIL.SEND() method. I am using the code: BEGIN apex_mail.send(p_to => 'tanmoydawn@gmail.com'/*l_to_addr*/, p_from => 'tanmoydawn@gmail.com'/*l_from_addr*/, p_bcc => l_bcc_addr, p_subj => l_mail_sub, p_body => 'Service Request ' || :mail_body || 'Note:- This is a system generated Email. Please DO NOT REPLY to it.'); apex_mail.push_queue; EXCEPTION when others then INSERT INTO send_mail_error_test VALUES ('Send_mail',systimestamp,:service_request

APEX_MAIL.SEND function not working though its not giving any error

冷暖自知 提交于 2019-12-21 17:58:11
问题 Have to send email from oracle apex using APEX_MAIL.SEND() method. I am using the code: BEGIN apex_mail.send(p_to => 'tanmoydawn@gmail.com'/*l_to_addr*/, p_from => 'tanmoydawn@gmail.com'/*l_from_addr*/, p_bcc => l_bcc_addr, p_subj => l_mail_sub, p_body => 'Service Request ' || :mail_body || 'Note:- This is a system generated Email. Please DO NOT REPLY to it.'); apex_mail.push_queue; EXCEPTION when others then INSERT INTO send_mail_error_test VALUES ('Send_mail',systimestamp,:service_request

Authorization and user roles in Oracle Apex?

时光毁灭记忆、已成空白 提交于 2019-12-21 09:27:27
问题 So Apex has "workspaces", which let you create users of three types - all of which are internal to the organization in nature. Also, there seems to be no way for a developer of an individual site on Apex to have "users" just for his site. Am I missing something? I need to be able to have external (business) users to be able to get access to just some features of the site, for example, accounting can only see pages A and B while executives can see A,B, and C. I need to have ability to have

Oracle Apex 5.0 - Display static image

落花浮王杯 提交于 2019-12-21 06:04:09
问题 I'm new to Oracle Apex and I'm really struggling how to display static images on a desktop application. I uploaded an image at Shared Components -> Files -> Static Application Files and was given the reference #APP_IMAGES#test.jpg In my application I then used this reference in the 'source' section by selecting 'item' and then typing #APP_IMAGES#test.jpg in the textbox When I run the application the image doesn't appear. The regions are visible but no image. I don't even get an error. I