Import application from APEX 18.2 to APEX 5.1.3 - oracle-apex

Some time ago we developed an APEX application using version 5.1.3. We recently upgraded the APEX in this server to version 18.2 and exported/imported the application without any issues.
Now we have a server running APEX 5.1.3 but the APEX in this sever can't be upgrade to the newest APEX release. When trying to import the application it shows an error that reads "NOT COMPATIBLE (Your export may contain calls not supported by your Application Express version)". Unfortunately we didn't save a file containing the application when it was first developed in APEX 5.1.3. and the only version we have is the one running on APEX 18.2.
Question: is there a way to "make" an 18.2 APEX export compatible with 5.1.3 release?

When you upgrade apex the previous apex schema is left and a new schema is created. It may be possible to copy your db and restore to a point in time before you upgraded APEX and then you could export the app.
You may be able to install apex 5.1.3 into a new db and then drop the apex 5.1.3 schema and then import the 5.1.3 schema exported from your current db.
You current db has updated public synonyms which make the old apex 5.1.3 schema packages invalid.

Related

Oracle Apex - There is a problem with environment! the for version 21.1.0 loaded, but 21.2.2 is expected

I was trying to upgrade apex from 21.1.0 to 21.2.3 with patch(33420059). After successful upgrade login throughs an error "There is a problem with environment! the for version 21.1.0 loaded, but 21.2.2 is expected".
I configured the server in TOMCAT 9 with ORDS 21x, and also copied images frolder from the .zip file to folder ords\images and tomcat \i.
tried all possible advices in the google.
Regards,
Jojo
Take in mind that APEX 21.2 static resources are available on a CDN.
For APEX product version 21.2.2 and 21.2.3, use
https://static.oracle.com/cdn/apex/21.2.2/. The CDN contains the
production APEX 21.2 static resources and the updated static resources
included in PATCH_VERSION 1, 2 and 3. Please refer to the included
README for instructions on using the new CDN.
If you're sure about the CDN configuration, please follow these steps:
1- Run the script: apex_rest_config.sql
Learn more: Configuring RESTful Services
2- Validating the Oracle REST Data Services Installation
java -jar ords.war validate [--database <dbname>]
3- Clear the cache browser
You have not updated /i/ (images) from older version, now you have new apex and static images from old apex - you need to replace static images location on your tomcat with new images from apex upgrade package. Make copy first of course.

Integration of Oracle JET with APEX

I am trying to integrate Oracle JET with Oracle APEX, I tried to find information about integration. I found some blog posts for older version of APEX and Oracle JET - I can't find a way to download oraclejet.zip file and “Oracle JavaScript Extension Toolkit : Base Distribution”?
I tried to install files using npm, but there I can't find files which I should upload to apex static files.
Or this files: https://docs.oracle.com/middleware/jet400/jet/developer/GUID-219A636B-0D0B-4A78-975B-0528497A82DD.htm#JETDG-GUID-219A636B-0D0B-4A78-975B-0528497A82DD
I want to add JET diagrams to Oracle APEX and other components too.
Oracle JET has been part of the standard APEX installation for the past couple of years. The most recent release, APEX 21.1 contains Oracle JET 10.0.0. There are plenty of Oracle JET components that can be used declaratively by APEX, but you should still be able to reference the library through standard JavaScript if you so choose.

Save to Database action missing in Web Forms for Marketers 2.5

I have installed Web Forms for Marketers 2.5 in new instance of Sitecore 7.5 and I don't see "Save to Database" action in new version. Also there is no MDF file in version I believe this is because new version uses MongoDB. There is a WFFM_Analytics.sql not sure in which DB I need to use to run this file.
The "Reporting" database is not attached to the DB server by default when you initially install Sitecore 7.5 (at least not with SIM).
Per Sitecore 7.5 Installation Guidelines - Section 6.2:
Configuring the reporting database – attach the Sitecore.Analytics.mdf database to
SQL Server. This database is used for reporting.
o In the ConnectionStrings.config file, customize the following string:
<add name="reporting" connectionString="user id=_username_;password=_password_;Data Source=_server_;Database=Sitecore_Analytics" />
Note: You can find the Sitecore_Analytics database under the [site root]\Database folder
Once you have attached the reporting database and updated the connection string, you will need to run the sql file as mentioned int he package installer instructions. (see Brad's answer).
You are correct that the 'Save to Database' action is no there anymore. I'll try to see if the data is saved automatically or if a Save to Database action was missed while packaging when I get some time later tonight.
Did you follow the steps from within the package installer?
Sitecore Web Forms for Marketers installation.
Post installation steps:
The "Restricting Placeholders" application will offer
you to define the set of placeholders where your forms
can be added.
Republish content to the "web" database.
In the [site root]\Website\Data find WFFM_Analytics.sql and run it on the reporting db of your current instance.
This will create 3 additional tables in your reporting db.
Add the following nodes to the Web.config:
for IIS 6.x under the configuration\system.web\httpHandlers node
for IIS 7.x and up under the configuration\system.webServer\handlers node
See also Web Forms for Marketers v2.5 User Guide
And, "reporting db" should be your /Databases/MDF/<instance>Sitecore.Analytics.mdf database.
In WFFM 2.5 in sitecore 7.5 the data will be saved automatically to MongoDB after the session end the data will be transferred to SQL database.

Migrated from Oracle XE to Oracle 11g (using Hiberate 3.6, Spring 3 and JPA 2)

I've an application built using Spring 3, Spring webservices 2.0 , JDK 1.6 and JPA 2 (with Hibernate 3.6 as the provider).
This application was working fine in Oracle XE. This application exposes few web-services, which I test using SoapUI. This web-service request contains date and time in the request. Application looks for the date and time equal to this request and returns the matching data.
All this was working very well in XE, but stopped in 11g. There are no errors or exceptions, I just don't get any data back in the response message?
Nothing else has been changed.
I've tried to use different Oracle dialect in persistence.xml but the problem remains.
Is there anything else that needs to be done?
Fixed it. It was oracle installation issue. Reinstalled it and got it working.

Oracle Application Express Dev Environment

When developing with application express, I am struggling with how to implement version control and how to have both DEV and PROD versions of an application. How do you publish changes from dev to prod? I know that I can export the entire application and then import into production, but is there a way to just import changes easily?
APEX 3.2 on Oracle 10g
For our Apex Applications* we have adopted the export\import method at the apex application level. Can be bit of an overkill for small changes but it works.
This thread on the Apex OTN forum seems to point to application level exports for version control as well.
*Just to clarify where I say Apex application what I mean is the sql file that Apex produces on an export.