Sign Up

Hey, Dev!
Are you looking for a forum full of active developers to help you?
So if you want to:
➡️ Get answers for your development issues
➡️ Help others
➡️ Write an article
➡️ Get rewarded for your active participation
Then this place is just for you and it is 100% FREE.

Have an account? Sign In


Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

OrclQA.Com

OrclQA.Com Logo OrclQA.Com Logo
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Blog
  • New Questions
  • Tutorials
    • Oracle
    • Oracle Apex
    • Python
  • Tags
  • Users
  • Badges & Points
  • About
Home/Questions/Q 5389
In Process
Vard
Vard

Vard

  • 1 Question
  • 2 Answers
  • 0 Best Answers
  • 27 Points
View Profile
  • 1
VardContributor
Asked: February 16, 20212021-02-16T09:21:57+05:30 2021-02-16T09:21:57+05:30

How to Generate Multi-Sheet Excel Export From Oracle APEX with Bi-Publisher

  • 1

Hi,

Can you provide an example or point me to some good documentations on how to generate Multi-Sheet output in a single excel spreadsheet from Oracle Apex application by a click of a button.

 

I'm using APEX 19.2 (upgrading to 20.2 soon) and Bi-Publisher 12c.

 

Thank you =,

 

Varduhi

question
  • 5
  • 91
  • 0
  • 0
  • Share
    • Share on Facebook
    • Share on Twitter
Answer

    5 Answers

    1. Vinish

      Vinish

      • 1 Question
      • 470 Answers
      • 45 Best Answers
      • 2k Points
      View Profile
      Vinish Legendary
      2021-02-16T09:40:19+05:30Added an answer on February 16, 2021 at 9:40 am

      You can create an RTF template with multiple pages having different queries output, but each page should be separated by page break (Ctrl+Enter).

      Then BI publisher will treat that each page as a separate sheet in Excel output. For in-depth details, please read the following article:

      Multi sheet Excel Output using BI Publisher

       

      • 2
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
    2. Vard

      Vard

      • 1 Question
      • 2 Answers
      • 0 Best Answers
      • 27 Points
      View Profile
      Vard Contributor
      2021-02-18T21:42:45+05:30Added an answer on February 18, 2021 at 9:42 pm

      Hi Vinish,

      Thank you for the reply.

      But I'm still a little confused on how to achieve this in APEX.

      1. Can I create RTF file on Microsoft Word or I need special plugin (or external program) to create one
      2. If I need my excel output in 3 different sheets in on excel spreadsheet do I need to create 3 different Source Queries in APEX Report Query Section
      3. Do I Need to use the RTF file in Report Layout section when I create a new layout
      4. Do I need to make any changes in APEX Report Layout xml section ( I have been using Generic Layout for the simple exports)

      I would really appreciate, if you can provide me with a simple example on how would the set up look like.

      Thank you,

      Vard

       

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
      • Vinish

        Vinish

        • 1 Question
        • 470 Answers
        • 45 Best Answers
        • 2k Points
        View Profile
        Vinish Legendary
        2021-02-19T06:17:46+05:30Replied to answer on February 19, 2021 at 6:17 am

        The following are my answers:

        1. Yes, you have to create an RTF file in MS Word. Also, install the latest BI publisher version on your Windows, then from the BI publisher windows menu, you will get an option Add-on/Plugin for MS Word. Click on this option to install. After that, open the MS Word, and there you will see the BI publisher tab. Use this tab to create reports.
        2. Yes, you will have to create 3 different queries.
        3. Yes, you will have to specify/upload that RTF file in the Report Layout.
        4. No, there no need to make any changes there.

        I will soon write a tutorial on it and then will share it with you.

        • 2
        • Share
          Share
          • Share on Facebook
          • Share on Twitter
    3. Vard

      Vard

      • 1 Question
      • 2 Answers
      • 0 Best Answers
      • 27 Points
      View Profile
      Vard Contributor
      2021-02-22T21:18:34+05:30Added an answer on February 22, 2021 at 9:18 pm

      Hi Vinish,

      Thank you for the reply and looking forward to seeing your tutorial. Your tutorials and blog posts are usually very in depth and helpful!

      I don't have Bi-Publisher installed on my Windows. We are using Bi-Publisher that came installed by default with Oracle Cloud Control and it runs a server that does not have MS Word installed.

      I tried to install B-Publisher locally, but the installation fails because I don't have the correct version of WebLogic Server.

      Do you know any other ways or tools I can utilized to create TRF files without the need to install Bi-Publisher.

       

      Thank you so much!

       

      Vard

      • 1
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
      • Vinish

        Vinish

        • 1 Question
        • 470 Answers
        • 45 Best Answers
        • 2k Points
        View Profile
        Vinish Legendary
        2021-02-23T11:26:00+05:30Replied to answer on February 23, 2021 at 11:26 am

        I have suggested you to install BI publisher to get the add-on for MS Word installed on your computer so that you can create RTF reports. There is no need for MS Word on the server.

        Also, there is no need for a BI publisher on your local computer because it is already installed on a server or cloud. But you will have to install it on your local computer to get the add-on.

        After creating RTF files, you would upload them in Apex > Shared Components > Report layout.

        • 0
        • Share
          Share
          • Share on Facebook
          • Share on Twitter

    You must login to add an answer.

    Forgot Password?

    Sidebar

    Ask Question
    Write a Post
    • Recent
    • Answers
    • GudDud

      Load PDF into APEX, Edit it and Print it.

      • 0 Answers
    • AnuK

      Error: Ajax call returned server error ORA-00932: inconsistent datatypes: expected ...

      • 0 Answers
    • pavlos

      How to reduce space between two Display Image items?

      • 1 Answer
    • Bheem

      Scrollable News with thumbnail

      • 0 Answers
    • Vinish
      Vinish added an answer You can reduce the number of column span for the… March 4, 2021 at 7:53 am
    • Abdulkareem
      Abdulkareem added an answer Below query is working fine SELECT city,name FROM JSON_TABLE ('[{"city":"Stockholm","name":"Lennart… March 3, 2021 at 6:16 pm
    • Vinish
      Vinish added an answer Below is the correct query: SELECT city, name FROM JSON_TABLE… March 3, 2021 at 9:18 am
    • Bheem
      Bheem added an answer Got the answer. Thank you March 3, 2021 at 9:07 am
    • afzal
      afzal added an answer STEP -1 CREATE REPORT LIKE-- select SAL AS "SALARY", NVL(COMM,0)… March 2, 2021 at 10:25 am

    Recent Blog Posts

    • Vinish

      Oracle Apex - Display External File in Region

    • Vinish

      Oracle PL/SQL Download BLOB File to Disk

    • Vinish

      Oracle Convert External File to BLOB

    • Vinish

      Oracle Apex Calendar Example

    • Vinish

      Oracle Apex - Open Modal Dialog Page Using JavaScript

    Explore

    • Home
    • Blog
    • New Questions
    • Tutorials
      • Oracle
      • Oracle Apex
      • Python
    • Tags
    • Users
    • Badges & Points
    • About

    © 2021 OrclQA.Com. All Rights Reserved. Privacy Policy