Home Discussions Questions & Answers Handling Views During Discoverer Import

Handling Views During Discoverer Import

Avatar photoCustomer August 19, 2021 at 12:38 pm

When importing Discoverer Folders, I see an option called ‘Expand Views’. What is the purpose of this feature, and why would I choose ‘All’ expansion?

Viewing 6 reply threads
  • Author
    Replies
    • Support August 20, 2021 at 1:58 am  

      The ‘Expand Views’ option determines whether the underlying SQL definitions of database views, which form the basis of Discoverer folders, are imported into Blitz Report . When set to ‘All’, the view definition SQL is imported as a subquery within the new Blitz Report’s extraction SQL, instead of simply selecting from the view name . The primary benefit of ‘All’ expansion is simplified maintenance, as you can modify the SQL directly within the Blitz Report form, eliminating the need to recompile the view in the database whenever a change is necessary .

    • Avatar photoCustomer August 20, 2021 at 6:53 am  

      If I choose the ‘Custom’ setting for ‘Expand Views’, what is the criteria used to determine which views get expanded?

    • Support August 21, 2021 at 4:02 pm  

      When set to ‘Custom’, the view definition SQLs are expanded only for views that either start with `XX%` or with any of the defined custom application short names . This setting allows you to limit the expansion to internal custom views, keeping the SQL for standard Oracle base views clean .

    • Avatar photoCustomer August 23, 2021 at 6:59 am  

      What does the ‘Include Columns’ option control during the Discoverer import?

    • Support August 25, 2021 at 12:00 am  

      The ‘Include Columns’ parameter allows you to control the columns selected in the imported SQL . If you choose ‘Active’, the imported SQL will only include the columns that were actively used by the Discoverer worksheets . If you choose ‘All’, the SQL will use general folder selection syntax, such as `aia.*`, including all columns of the accessed folders .

    • Avatar photoCustomer August 25, 2021 at 5:06 pm  

      After a failed mass import attempt, I need to clean up all reports created from Discoverer before running the import again. Is there a script for this?

    • Support August 27, 2021 at 7:38 pm  

      Yes, to clean up reports imported from Discoverer, you can use the example script `mass_delete_discoverer_reports.sql` , . This script is provided specifically to remove all imported Discoverer reports before a re-import, which is useful if you need to rerun the import with different settings, such as changing the view expansion mode , .

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: