Oracle Apex UI Translation - Point me in the right direction - oracle

I have to work on building a website in Oracle Apex that should be displayed in multiple languages. Let me decompose this further.
I am assuming that there are two parts to an Apex application
UI & elements of the UI i.e. regions, buttons, tables, page headings
Data
At the moment I need to find answers on how to enable multiple language support for only the UI part of my application. Not the data.
As I can understand, there are two broad based approaches to achieve this.
Use the Apex inbuilt support for changing the UI elements.
Create a solution from scratch that is based on a database driven approach.
IS my understanding correct?
Two more questions
1. Can anyone give me a short brief on in the type of support that Oracle Apex provides for creating multiple versions of webpages / websites for my application? Alternatively just point me in the right direction by providing relevant links etc.
Which one of the above two approaches would you recommend? And Why?
Thanks a ton
Romi

Okay, this one I seemed to have solved on my own. The process consists of the following steps
Create a shadow applications for each language other than the language of the primary application.
Export the UI elements from the primary language application into an XML file (XLIFF) for the target language application (the shadow application as mentioned in 1 above).
Edit the XML file and enter the text descriptions for the target language application in the XML file.
Upload the edited XML file to the target application.
For a detailed explanation look at this link . Click here to create a sample multi language application in Apex.
At the time of writing this I don't see any reason for creating this feature from scratch. Why reinvent the wheel?
Any comments?

Related

Oracle Forms Round Corners Button

I am inserting a push button in oracle form builder but I want to customize its corners in round shape just like below mentioned image.
Any help willl be highly appreciated!
I've never done that (didn't have to & I'm quite happy with buttons as they are), but - it seems that you'll have to use PJC (Pluggable Java Components) and Java Beans. These are terms you should be searching for; one resource is A non rectangular button's PJC; see if it helps.
As mentioned, you would need to create a Plugable Java Component (PJC) if you want round ended buttons. The demos that Oracle used to provide included an example of such a PJC, however they are no longer available. So some Google searching might be needed if you want to find them.
The good news is that there are plans to introduce this functionality as a feature in a future release. If added to the product, you would no longer need to use a PJC. Unfortunately, the release date of that version cannot be shared at this time. For the latest information about Oracle Forms, refer to:
https://www.oracle.com/application-development/technologies/forms/forms.html

Reporting tool with angular 5 and .net Core 2

I am trying to build my first application using angular 5 and .NET core 2; The application is created in visual studio 2017 as one empty website based on .Net core 2; I am using angular 5 for the client-side, and to maintain data-access, security, authorization ... I am creating Web API controllers using .Net core 2 which will be called from angular; What I still don't know is how to create reports which requirements are the below:
Reports are textual and they can contain sub-reports or images;
They should be created in server side as some of them should
be saved on the webserver
They should be exported as images or PDF files
They should be also displayed on HTML page whether they were saved or not on the webserver: so there should be a way to revert back to angular 5 and display those reports on the browser
Please note that I have no SQL Database but Oracle 11G, which I guess in this way I have to create a data-set and fill it, then this dataset will be used in the report.
Before, I used to create RDLC or crystal reports with all the above, and I could run new tab from server side to display my reports; But now things are more complicated and new... So any hint is more than appreciated.
I have a simple idea will fix your problem. If you want with Crystal reports or SSRS:
Generate a new Web Form project that uses Crystal Report Viewer.
The new project has only two pages: Index.aspx, Report.aspx.
Index.aspx will receive report id and additional parameters of the report.
Index.aspx will open Report.aspx after internal processing.
Once the page Report.aspx is viewed, user can view, navigate and print the report.
If you want to use SSRS, you'll replace Crystal report.
This solution will cost you nothing except hosting the Web Form project on a server.
Hope this solution fix your problem.
Al.
You need to say a lot more about your report requirements, otherwise it's hard to give a useful answer. You should mention:
technologies - (you've got some of this already) - Angular and .Net
formats - you've mentioned HTML and PDF/images (in your comment)
client-side/server-side - are you trying to generate
the reports fully client-side (you have the data already at the
client) or can you generate server side. Each aspect has
benefits and particularly server-side you have more options,
access to more of your data (typically), access to your report
storage, more installation/interfacing options and more
processing power.
document types - what styles of documents
are you trying to create. Textual reports, spreadsheet-style
calculations and charts etc.
any other requirements you can think of (security, connectivity, speed, pricing etc).
There are lots of reporting libraries/engines ranging from simple code-based design and build to template-based (mail-merging) styles.
I know that's not a specific answer, but I've written more about your options than you have written about your requirements. I hope it helps.
I Guess you are trying to create a reporting engine using angular 5 and .net from server side.
If your report is Pure HTML then it is easier. If it needs any graphs then you have to look for 3rd party libraries like Hicharts.
To render report as PDF you can use Angualar 5 server side rendering support (Universal). Also lots of opensource components are available to generate PDF from HML. so you can combine Universal and PDF renderer components and produce the PDF output
note: Hicharts supports serverside rendering
Also in agular 5 you can dynamically create object for components, so you can make report components are configurable and flexible

how to create an oracle form

I am looking for a source to teach me how to create an oracle form. I don't want to create a form by using oracle form builder, I would like to understand how to create a *.fmb file.
Do you have any good source to read about it? I would like to create a custom IDE that's why I want to know how I can create an Oracle form.
please advice me.
You can use the open api functionality in oracle forms to make your own fmb files.
For more info read this link
You don't want to do that.
Back in 1990's, Forms 3.0, when a form source was an .INP file which was a pure TXT file, it had its own structure so you might have tried to do everything in a text editor - define blocks, triggers, PL/SQL code, whatever. I don't know a single person who did that - that's what Forms is used for, so that you - as a developer - could pay attention to development and let Forms do the boring job for you.
Today, .FMB is not a textual file at all so you can't even do that.
I'd suggest you to learn how to develop good/fast/effective/etc. Forms applications, and - again - let Forms do the rest.
As of the rest of your question (creating a custom IDE), did you try to create a query builder? It is way simpler than creating a form, but still quite complex and certainly isn't something you can do in a matter of days.
Anyway, good luck with anything you're up to, I admire your enthusiasm.

OpenERP basic reports

OpenERP is one of the best ERP applications I ever used.
I found that almost everything must be built from the beginning to meet the specific needs for each one including the analysis reports, but there are some basic packages already built.
Since I am new to OpenERP functionality and still haven't learned how to create reports in OpenERP, I need to know if there is any addons/extra module that provides me some basic and ready to print reports and listings for the several modules. This reports and listings will help me to better understand and learn the functional part of the application and will allow me on a future to better understand how to build reports and listings in OpenERP.
If anyone can provide me a link or repository with such information I will be greatfull.
Thank you very much
Regards
Paulo Matos
There are various ways of creating reports with openerp. They are (i've prioritized)
Webkit (for html,web designers - this will be a great utility)
OpenOffice (for any office person with minimal technical skills)
RML (Strictly for programmers :))
Jasper Report (good for people with java-reporting base)
Aeroo (Rich functionality of exporting to excel,word etc, still i am not comfortable in aeroo with openerp 7)
Pentaho Report Designer (A reporting tool from pentaho )
These links will help you in understanding better, setup environment and learn from the sample modules and reports. However you need to design what u need with one of the reporting type.
What's the best way to create a report on OpenERP
http://www.schenkels.nl/2013/02/custom-reports-in-openerp-what-will-you-use/
http://colinnewell.wordpress.com/2012/01/04/adding-new-reports-to-openerp/
https://doc.openerp.com/v6.1/developer/05_reports/
https://doc.openerp.com/6.1/book/8/8_20_Config/8_20_Config_reports/
Google more. You'll get everything u need. Good Luck!!
Reporting from Odoo / OpenERP can be very frustrating at times. We have found over the years that no single solution is great for every need.
The built in reporting mechanisms mentioned in the first answer (rml / openoffice) have been somewhat deprecated and replaced with qweb reporting which renders similarly in HTML or PDF. They can be difficult to get fine-grained control and alignment, a lot of work to achieve non-regular reporting structures and cross tab reports, but are fast and easy to use for straightforward "document" type reports (such as orders / invoices).
I cannot comment on Jasper or Aeroo, as I have not used them.
Using Pentaho Reports for Odoo can be great because they are primarily reporting engines. They can do wonderful things with data, present them in great ways.
One upside with this connector is its ability to access Data using the object layer, or SQL, or both in one report if necessary (using sub-reports for example), as well as custom methods!
One downside we have found with Pentaho Reporting is that as the code base changes for OpenERP/Odoo, the connector changes, and configuration has to be continually re-vesited.
The latest version supports Odoo version 8 and version 5.4 of Pentaho reporting engine.

Generate a business letter for 100+ leads using wkhtmltopdf

We need to print Business Letter for a given list with mail merge facilities.
My client is not willing to spend $$ on a paid ASP.NET control to make PDF. So I opted in for WKHTMLtoPDF and it works fine for us until one day the client tried to get a PDF of 100+ leads, resulting in complete failure of PDF generation. It works just fine with a 10-20 page PDF, but not for 100.
Are there any tips & tricks to improve performance? We are using Cloud-hosted IIS 7 with ASP.NET 4 if that matters.
PDFSharp library is really a nice one!
I have used it for quite a while now, and I find it flexible enough to fulfill your needs.
However there are some aspects of using it as a "standalone library" - e.g creating tables is a headache and there aren't much text formatting options. It is much better to mix it together with MigraDoc (an extension library for PDFSharp).
If you're looking for a really free (as in "free of worries") library, choose iTextPDF versions prior to version 4.1.7, as they state in the ByteScout blog.
From the ByteScout blog:
iTextSharp 4.1.6 DLL only: itextsharp-4.1.6-dll.zip
iTextSharp 4.1.6 Source Code (C#): itextsharp-4.1.6.zip
I'm not sure I understand your problem but couldn't you generate docx documents and get the same results?
For all, I use http://wkhtmltopdf.org/ to create HTML to PDF, my ASP.NET code generate the HtML file then I create HTML to PDF and it is done, much easier than using itextpdf's Table and td structure to get things in better space. I found it easy and fast once you get your stuff aligned properly.
library has improved since original question asked and it performs better now.
here is good tutorial http://www.codeproject.com/Articles/20640/Creating-PDF-Documents-in-ASP-NET

Resources