oracle-apex

Making a row read only in a tabular form

南笙酒味 提交于 2019-12-13 05:54:21
问题 I have a tabular form which users will update on a yearly basis for their targets. Each product will have three rows: a row showing sales (last year), a row showing sales_target (sales man will enter) and a manager figure (what the manager expects the sales man should sell). The user should only be able to view sales from last year and the managers figure, and be able to enter into sales_targets. I know how to make columns readable but stuck on how to make a row readable if its not manager

How to Access Oracle Database Table Column Data within Javascript in Oracle ApEx

主宰稳场 提交于 2019-12-13 05:16:15
问题 I have a column in a database table that contains several urls and I was wondering what is the best way to get these urls from the database table into a javascript function. Example code of how to approach this would be much appreciated. Thanks. 回答1: If you can get the URLs into page items via PL/SQL code then you can access the page item values from Javascript like this: url1 = $v('P1_URL1'); url2 = $v('P1_URL2'); For example, you could have an on-load PL/SQL process like: select url1, url2

Google map disappearing in APEX region

与世无争的帅哥 提交于 2019-12-13 04:51:18
问题 I'm trying to display map in one of my apex pages region, this map will have draggable marker which links to text-fields on other region and displays geocode for latitude and longitude. Everythings works except one thing the map is appearing just for 0.5 second and disappears. I think the problem is somewhere within coding as I have other similar program where map works perfectly fine. I'm using PL/SQL to retrieve map from procedure in a database. Here is my PROCEDURE: create or replace

Ords webservice Internal server error 500

让人想犯罪 __ 提交于 2019-12-13 03:59:55
问题 I am using ords to front oracle apex, recently it started giving me 500 internal server error with no reason on page, the error is displayed when ever i try to test webservcice (i.e. click on webservice test button form oracle apex), below is the log for ords SEVERE: java.lang.AbstractMethodError: Method oracle/jdbc/driver/OracleResultSetImpl.isClosed()Z is abstract InternalServerException [statusCode=500, reasons=[]] at oracle.dbtools.rt.ResourceTemplatesServlet.canDispatch

PHP - oci_connect not found

守給你的承諾、 提交于 2019-12-13 03:57:26
问题 I researched and found out oci_connect() is the way to go. I found out that i could either use the Connect Name from the tnsnames.ora file or use an easy connect syntax. Since my database isn't locally stored and I had no idea where the said, tnsnames.ora file was located in apex.oracle.com, I went with easy connect strings.Here's what I've done so far. $username = "myemail"; $host = "apex.oracle.com"; $dbname = "name"; $password = "password"; // url = username@host/db_name $dburl = $username

oracle apex 18.2 pl/sql function body returning sql query checking page item value

落花浮王杯 提交于 2019-12-13 03:33:57
问题 I am Creating a interacitve repor pl/sql function body returning sql query I have a page item :P1_DIVISION_ID to pass as parameter as well as check item value is not null as show below declare lv_query varchar2(4000); begin IF :P1_DIVISION_ID IS NOT NULL THEN select 'select DIVISION, CUSTOMER_ID, PARTY_NAME, ACCOUNT_NUMBER, ORG_ID, OU_NAME, AGING_1_30, AGING_31_60, AGING_61_90, ABOVE_90, CURRENT_BALANCE, PAST_DUE, WEBSITE_STATUS, BLOCK_DATE, BLOCK_REASON, TOTAL_NUM_LOGIN, CP_LAST_PAY_DT, CP

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

How do you set the username (APP_USER) as the email from single-sign on in APEX?

时光怂恿深爱的人放手 提交于 2019-12-13 03:17:53
问题 I'm setting up an APEX app using single-sign on following this tutorial and the app now allows sign-in to occur. However the value of APP_USER does not equal the email address that is logged in through Microsoft - it defaults to APEX_PUBLIC_USER. I want to use the username to provide role-based application access control. I've looked around for solutions and found post authentication code that looks like it should help and I have tried to adapt. Using procedure post_authenticate is begin w14

hide the 'Create' button if P_Photo is null and P_mandatory photo = Yes

喜你入骨 提交于 2019-12-13 02:56:00
问题 who can help, I have made an add-on to the apex oracle. The essence of it is that I can choose there to indicate whether the obligation to upload a photo in the form. For example, if the mandatory photo field is set to Yes in the setup tally (this section I assigned P_mandatory_photo), the photo uploaded to the P_Photo change should be necessarily loaded because the "Create" button will be hidden, but if in the setup tile the field "mandatory photo" equals "No", if I haven't even uploaded a

Identifier 'APEX_JSON.PARSE' must be declared in oracle 11.2.0

北城以北 提交于 2019-12-13 01:17:48
问题 I want to parse JSON in Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production . But below error reported: ORA-06550: line 4, column 5: PLS-00201: identifier 'APEX_JSON.PARSE' must be declared Here is my sample code: DECLARE s varchar2(32767) := '{ "a": 1, "b": ["hello", "world"]}'; BEGIN apex_json.parse(s); sys.dbms_output.put_line('a is '||apex_json.get_varchar2(p_path => 'a')); END; Does this version support this feature? 回答1: This depends on the APEX version within