oracle-apex

How to determine the hostname in Oracle APEX?

China☆狼群 提交于 2019-12-08 05:34:35
问题 I want to create some links in Oracle APEX to the application itself. But it changes in my development envireonment and the production environment. I need a way to determine my current hostname and port. Which function can help me? 回答1: The necessary method is in the APEX_UTIL -package and called HOST_URL. With the parameter, you can extend the output: Given your hostname is example.com and your port is 5883 . function call | result ---------------------------------|--------------------------

How To Export-Import Database in Oracle 11g(Application Express Edition)? [closed]

主宰稳场 提交于 2019-12-08 02:25:30
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am beginner in Oracle 11g. I have created a database in oracle 11g(Application Express). I want to export this database with all data(whole workspace) and import this to another computer where I already have installed Oracle.Is there any way to export-import the whole workspace in oracle 11g application

getting Session state protection violation error for a hidden item that is being set with computation before header - Oracle APEX

徘徊边缘 提交于 2019-12-07 08:23:51
问题 I am trying to set the label of an item dynamically using the value of an other hidden item in the same page. I created a computation for the hidden item in the page and set the value of the item as the dynamic label - &P613_EMPLOYEE_TYPE_LABEL. But I am getting this error Session state protection violation: This may be caused by manual alteration of protected page item P613_EMPLOYEE_TYPE_LABEL. Technical Info (only visible for developers) is_internal_error: true apex_error_code: APEX.SESSION

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

ぐ巨炮叔叔 提交于 2019-12-07 07:20:27
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 (SELECT atp.name FROM preferences p) THEN apex_item.checkbox(1,at.value,'CHECKED') ELSE apex_item

How to determine the hostname in Oracle APEX?

让人想犯罪 __ 提交于 2019-12-07 06:24:27
I want to create some links in Oracle APEX to the application itself. But it changes in my development envireonment and the production environment. I need a way to determine my current hostname and port. Which function can help me? The necessary method is in the APEX_UTIL -package and called HOST_URL . With the parameter, you can extend the output: Given your hostname is example.com and your port is 5883 . function call | result ---------------------------------|----------------------------------- APEX_UTIL.HOST_URL() | http://example.com:5883 APEX_UTIL.HOST_URL('SCRIPT') | http://example.com

How to append a string to where clause in APEX Interactive Report SQL

依然范特西╮ 提交于 2019-12-07 03:50:33
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 please advice how I can append a string to where clause in APEX report query? Thanks P5_NEW (well, why not

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

狂风中的少年 提交于 2019-12-06 22:26:27
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 another text with term1</p> <p>this is text with term2</p> </article> <article> <index> <term>term2</term>

Current version of data in database has changed since user initiated update process

蹲街弑〆低调 提交于 2019-12-06 15:51:30
问题 I have a Master Detail form in my Oracle APEX application. When I am trying to update data in this form, I am getting below error. Current version of data in database has changed since user initiated update process. current row version identifier = "26D0923D8A5144D6F483C2B9815D07D3" application row version identifier = "1749BCD159359424E1EE00AC1C3E3FCB" (Row 1) I have cleared browser cache and try to update. But it not worked. How can I solve this? 回答1: I have experienced similar problem

Proxy_pass ignoring port

喜欢而已 提交于 2019-12-06 15:40:44
问题 I have a CentOS server running NGINX listening to 80 and a DB servering an app on 8080. I want to be able to Type http://example.com/dev/abc and have it actually access http://example.com:8080/apex/abc or http://localhost:8080/apex/abc I have used this location configuration location /dev { proxy_pass http://example.com:8080/apex; } However when I try it out the url displayed is http://example.com/apex/apex the page is not found and the log says: 2018/06/14 12:51:33 [error] 7209#0: *2067 open

Oracle APEX - Conditionally Changing Text Color in a cell on an Interactive Report based on Contained Value?

雨燕双飞 提交于 2019-12-06 06:51:37
问题 Ok... So. I have an interactive report in APEX that displays data about documents in our system. Our documents are supposed to be reviewed every two years and there is a column in the table that contains the date that the document should be next reviewed by. We want to visually indicate either in the cell that contains the date, or another cell in the row, when the date reaches certain benchmarks (i.e. When the date is within 6 months of the current date, 3 months, 2, 1 etc.) What I need to