Report template default: Look 3

How can I increase the column width of a report region with report template default: Look 3? I selected 'No Template' for the region but 'default: Look 3' for the report template.
Thanks.
Andy

Hello,
You can't with the default report Look's as they aren't really a template just hardcoded html.
Pick one of the report templates out of the theme you are using then you can adjust the html or css as needed.
Carl

Similar Messages

  • Report Template: "default: Look 5"

    Hi All,
    Is it possible to create new report template, derived from "default: Look 5" in HTMLDB 2.0?
    I need to customized this report template.
    Thank you.
    Regards,
    guntur

    I want to do this also. I like the mouseover highlite feature, but would like to change the color from gray to yellow. I haven't had good luck with creating
    report templates from scratch either.
    SKY

  • Report template auto-changed to Default: HTML

    I use the builtin report template "Default: Look 4" for all of my report screens and have a problem when importing the application with a new Application ID.
    All reports that use the "Default: Look 4" template get changed to "Default HTML" in the new application and I have to manually change them all back again. This is a real pain because I use the application ID as a form of version control - the old versions of the application are auto-forwarded to the new one - so I end up having to do the change quite often.
    Is there a way I can prevent the template from changing?

    If it's any help to you, I did a bit of 'vanilla' testing ...
    - create a new workspace TEST
    - Edit Page 1 of the Sample Application
    - Note that the region "My Top Orders" is using layout "template: 12. Standard, Alternating Row Colors"
    - export the Sample Application
    - import the Sample App with Auto-Assign New App ID selected
    - Edit Page 1 in the new application and note that the region template for "My Top Orders" is still set to "template: 12. Standard, Alternating Row Colors"
    - Change the template for "My Top Orders" to "default: Look 4"
    - Export application
    - Import application with auto-assigned AppID
    - Edit "My Top Orders" and note that template is changed to "default: HTML (standard)"
    The template is only changed when the exported application uses one of the "default: Look X" templates, other templates are not changed. Also, importing into the same or different application makes no difference, the template is still changed.
    Thanks for your quick reply so far Scott!

  • Where can i see default look report template

    Hi All,
    Iam using Default look 5 report template. but it is not showing in edit page. If i select other tahn default look ,it is showing in edit page.
    but i need change column heading color and etc ...... for default Look 5
    Any One knows pls ...tell me
    Thanks in Advance

    "Default look" report templates are hard-wired into the APEX engine and cannot be modified. You could look at the HTML source of a rendered report to figure out any classes etc used and try to come up with CSS to override the default appearance, but the best approach would be to use the rendered source in conjunction with Firefox+Firebug to figure out how the report is structured and styled and build a custom report template based on this.

  • Access to customizing default: report templates

    I seem to remember far back in the corners of my memory, someone here on the forum mentioning that although we didn't have access at the time (probably back at HTMLDB 2.0) to customize the default report templates, that there were plans to make this an option in a future version of Apex. Does anyone have any idea if this is something that is being planned, or better yet, available today?
    If you're not sure what I'm talking about I'm referring to the field that says 'Report Template' in the 'Layout and Pagination' section of the 'Report Attributes' page in the application builder.
    The problem I'm having is that I'm using the 'default: vertical report, look 2 (show null columns)' report template and I've got some long column headings that I want to include a line break between each word of the heading, so they're stacked vertical instead of wide horizontally. I've add HTML break tags to the headings but they're disappearing when the page is rendered.
    I've made sure to set the 'Strip HTML' setting to 'No', but whether it's set to yes or no doesn't matter, the headings display the same either way.
    BTW, doing the same thing in a template based multi-row report seems to work fine. However, trying to use/apply the 'Value Attribute Pairs' report template yields the same result as the default vertical look template.
    So I have 2 questions:
    1) anyone know how I can make these heading words stack up vertically, one word to a line?
    2) are we going to get access to customize the default report templates?
    Earl

    Hello,
    1) anyone know how I can make these heading wordsstack up vertically, one word to a line?
    Probably the best way to do this is to just hard code
    a <br /> between your words.That's exactly what I'm doing (and what I said in my original post), however those breaks are disappearing during page rendering when I choose the report templates I mentioned.
    I don't understand why this technique works in the multi-row report templates and not in these vertically oriented value/attribute report layouts.
    2) are we going to get access to customize thedefault report templates?
    No, you should just use a regular theme based
    template, the default report templates are there for
    backwards compatibility and well basically for people
    that don't care about the UI. Since your at the point
    it seems you do care about UI the proper thing to do
    is to move to a standard report template that you
    have full control over.Fair enough. I'll look into that, but I think there's still an open question here as to why the HTML breaks aren't being returned in the page markup for these report layouts.
    Regards,
    CarlEarl

  • Copy/Edit default Report templates

    Hi,
    I am given the following template options in the "Report Template" list on the Report Attribute page
    of a report region:
    default: HTML (standard)
    default: Look 1
    default: Look 2
    default: Look 3
    default: Look 4
    default: vertical report, look 1 (exclude null columns)
    I want to modify the vertical report template, so I tried to make a local copy of it using the "Templates" page in the "Build" Menu.
    I used the "Create/copy" button of the "Report Templates" region, and then "Choose one from the HTML DB repository", and I am only shown these 2 templates:
    Alternating Rows
    Alt Rows,Navy Gray
    Where can I find the default templates such that I can make modifications?

    Hello,
    It sounds like you want to write your own HTML thats what modifing tempaltes entails beyond that I agree having those templates avaiable would make your job easier.
    But at the moment you have no way to get at the default templates. I'll see what i can do about getting an application in HTML DB Studio that has the default templates as report templates so you copy the report templates to your app.
    If you have HTML DB 1.6 there are a large amount of examples and reports in the different themes you can try as well.
    Carl

  • Where can I find Default Report Templates to copy from ?

    I want to make a new report template from an existing one.
    The existing one I want to make a copy of and edit is the Default: Look2 template.
    Darned if I can find it when creating a new report template.
    I have been through all other applications to try and no luck. Can anyone guide me to where I can find this to make a copy of ?
    Thanks !

    Hi,
    This has been discussed quite many times.
    See e.g. this post
    Re: Modifying Default Look 3 report template
    Regards,
    Jari

  • Modifying Default Report Templates

    Hi there,
    APEX v3.0.1.008
    I have created an application using Theme 12.Blue and am evaluating the different templates that are available out-of-the-box. The Default: Look 2 template best meets my needs in terms of layout but unfortunately has Sand colouring so I'd like to be able to customise this to change the Sand colours to Blue.
    When I navigate to Shared Components -> Templates -> Report I do not get the opportunity to Copy or Modify this Template. Can someone please explain why is this the case and any workarounds to be able to modify this Report Template?
    Many thanks,
    Gary.

    Hey Alistair,
    I'm not sure how your solution solves the problem. When I go to Themes, click on my theme and look at the template for that theme, I see a bunch of different items for each type, like button, region, etc. Most of my pages simply say look at the defaults in the template and I want to change those defaults. On the template page I see some are checked as the default and I'd like to change to a different one if possible.
    Thanks again,
    ~Chris

  • How to customize 'default: *' report templates

    Hi,
    where are 'default: *' report templates defined? They are not listed among other templates.
    What I need is to create a customized template based on 'default: vertical report, look1 (exclude null columns)'.
    Thanks

    >
    where are 'default: *' report templates defined? They are not listed among other templates.
    What I need is to create a customized template based on 'default: vertical report, look1 (exclude null columns)'.
    >
    default: report templates are hard-wired into APEX and can't be modified in the way that theme templates can.
    Using the web inspector in a browser with developer tools like Safari or Firefox+Firebug you can examine the source of the rendered report with a default: template to determine the HTML structure and class(es) used and the CSS selectors applied by APEX, then either override these in your own style sheet, or create a custom theme version of the template from scratch.

  • Error: process-uri-objects reports: HTTP2020: cannot find template default

    Error
    process-uri-objects reports: HTTP2020: cannot find template default
    Migrated from v4 to 6 but getting this error.

    Here is the obj.conf from migrated SSL server 6.0 sp5
    $ more obj.conf
    # Netscape Communications Corporation - obj.conf
    # You can edit this file, but comments and formatting changes
    # might be lost when the admin server makes changes.
    <Object name="weblogic" ppath="*/ts/*">
    Service fn="wl-proxy" WebLogicCluster="xxx.xxx.x.xx:yyyy,xxx.xxx.x.xx:yyyy" PathTrim="/ts" ErrorPage="htt
    p://ips.chase.com/Xcelerate/wlNotUp.html"
    </Object>
    <Object name="weblogic" ppath="*/jbs/*">
    Service fn="wl-proxy" WebLogicCluster="xxx.xxx.x.xx:yyyy,xxx.xxx.x.xx:yyyy" PathTrim=""
    </Object>
    <Object name="si" ppath="*/servletimages/*">
    Service fn="wl-proxy" WebLogicCluster="xxx.xxx.x.xx:yyyy,xxx.xxx.x.xx:yyyy"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="/opt/netscape/servers/docs/servlet" name="ServletByExt"
    NameTrans fn="pfx2dir" from="/manual" dir="/opt/netscape/servers/manual/https" name="es-internal"
    NameTrans fn="pfx2dir" from="/ns-icons" dir="/opt/netscape/servers/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/netscape/servers/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/help" dir="/opt/netscape/servers/manual/https/ug" name="es-internal"
    NameTrans fn="pfx2dir" from="/ns-icons" dir="/opt/netscape/servers/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/netscape/servers/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/help" dir="/opt/netscape/servers/manual/https/ug" name="es-internal"
    NameTrans fn="pfx2dir" from="/cgi-bin" dir="/opt/netscape/suitespot/docs/cgi-bin" name="cgi"
    NameTrans fn=document-root root="$docroot"
    PathCheck fn="unix-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy" WebLogicCluster="xxx.xxx.x.xx:yyyy,xxx.xxx.x.xx:yyyy"
    Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="send-error"
    Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
    AddLog fn="flex-log" name="access"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn=send-cgi user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
    </Object>
    </Object>
    <Object name="maintpwreset" ppath="*/maintpwreset/*">
    Service fn="wl-proxy" WebLogicHost="xxx.xxx.x.xx" WebLogicPort="yyyy"
    </Object>
    <Object name="pwreset" ppath="*/pwreset/*">
    Service fn="wl-proxy" WebLogicHost="xxx.xxx.x.xx" WebLogicPort="yyyy"
    </Object>
    <Object name="servlet">
    ObjectType fn=force-type type=text/html
    Service fn="NSServletService"
    </Object>
    <Object name="jsp092">
    ObjectType fn="type-by-extension"
    ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-internal/jsp"
    Service fn="NSServletService" type="magnus-internal/jsp092"
    </Object>
    <Object name="ServletByExt">
    ObjectType fn=force-type type=magnus-internal/servlet
    Service type="magnus-internal/servlet" fn="NSServletService"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    $
    Back end is a weblogic cluster, I have used xxx at place of IP and yy for port.
    Here is last few config lines from magnus.conf
    Init fn="load-modules" shlib="/opt/netscape/servers/bin/https/lib/libNSServletPlugin.so" funcs="NSServlet
    EarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
    Init fn="NSServletEarlyInit" EarlyInit=yes
    Init fn="NSServletLateInit" LateInit=yes
    Init fn="flex-init" access="/opt/netscape/servers/https-secure-xxxxxxx/logs/access" format.access="%Ses
    ->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %
    Req->srvhdrs.content-length%"
    Init fn="load-types" mime-types="mime.types"
    Init fn="load-modules" funcs="wl-proxy,wl-init" shlib="/weblogic/lib/solaris/libproxy.so"
    Init fn="wl-init"
    Thanks

  • Report with Default Value

    hi,
    in a report i want to display defualt value instead of null or blank.
    Actually in my report one column contains null values, on this column i put a link,
    if the value is null then on a report it display blank space without box.
    it doesn't look good, so i want to display some default value if it is null say('-')
    Can anyone give solution, how to do this?

    Hi,
    You could try using the empty-cells style on the table.
    For example, if you are using theme 12's Standard report template, you could add the following into the page's HTML Header setting:
    &lt;style type="text/css"&gt;
    .t12standard {empty-cells:show}
    &lt;/style&gt;Alternatively, on the Report Attributes for your report's region, there is a setting "Show Null Values as" - you could put your - in there
    Andy

  • Report Template, Column Template, Column Template Condition

    I have a template, Standard Revenue from Standard, I have cloned for a Classic report.
    Application ###>Shared Componets>Templates>Edit Report Template
    Column Template 1 looks like:
    <td#ALIGNMENT# headers="#COLUMN_HEADER_NAME#" class="t1data_revenue">#COLUMN_VALUE#</td>
    I have set Column Template 1 Condition to:
    "Use based on PL/SQL expresiion"
    I have tried several expression in "Column Template 1 Expression" - last one is:
    case
    when #COLNUM# <= 2 then false
    when #COLUMN_VALUE# < 0 then true
    else false
    end case;
    I am trying to use the value in "Column Template 2" when to value of the #COLUMN_VALUE# < 0
    where "Column Template 2" is :
    <td#ALIGNMENT# headers="#COLUMN_HEADER_NAME#" class="t1data_revenue_negative">#COLUMN_VALUE#</td>
    I get the following error when I run the page:
    ORA-01403: no data found
    and
    ERR-1025 Error processing PLSQL expression. case when #COLNUM# <= 2 then false when #COLUMN_VALUE# < 0 then true else false end case;
    Any help will be appreciated.
    thank you,
    jwm

    Hi,
    That's actually easier. See: [http://apex.oracle.com/pls/otn/f?p=267:60]
    The SQL for both reports is:
    SELECT EMPNO, ENAME, NVL(SAL,0) SAL, NVL(COMM,0) COMM
    FROM EMP
    ORDER BY EMPNOThe SAL and COMM columns have been formatted using:
    999G999G999G999G990D00For the Row Template, the Row Template 1 setting contains an empty space (you have to have something in there otherwise Apex adds back in a default row containing five cells!). The condition for this is:
    TO_NUMBER('#COMM#','999G999G999G999G990D00') < 100The template will see the data as a string, so we use the same number format to convert that string back into a number and compare this to 100. If we didn't use formatting on the numbers and we are sure that every row contained a number (hence the use of NVL()), then you could use:
    #COMM# < 100Row Template 2 contains the format for the rows that need displaying:
    &lt;tr&gt;
    &lt;td class="t18Data"&gt;#1#&lt;/td&gt;
    &lt;td class="t18Data"&gt;#2#&lt;/td&gt;
    &lt;td class="t18Data" style="text-align:right"&gt;#3#&lt;/td&gt;
    &lt;td class="t18Data" style="text-align:right"&gt;#4#&lt;/td&gt;
    &lt;/tr&gt;and is unconditional.
    The only other settings on the Row Template are the Before Rows:
    &lt;table class="t18Standard" style="border-collapse:collapse; border:1px solid black;"&gt;
    &lt;tr&gt;
      &lt;th class="t18ReportHeader"&gt;Empno&lt;/th&gt;
      &lt;th class="t18ReportHeader"&gt;Ename&lt;/th&gt;
      &lt;th class="t18ReportHeader" style="text-align:right"&gt;Sal&lt;/th&gt;
      &lt;th class="t18ReportHeader" style="text-align:right"&gt;Comm&lt;/th&gt;
    &lt;/tr&gt;and After Rows:
    &lt;/table&gt;Of course, you will note that the record counters at the bottom still show the number of records in both reports - as the SQL still outputs the same data, this doesn't change.
    Andy

  • Custom Report Template Issue

    Hi,
    I have a Custom Report Template, it is a Named Column(Row) Report that I have created. It seems I can get the look and feel I want on a per row basis. But when I try and convert it to be able to loop through for a specific type, like a break on the first column, it gets all messed up. I was wondering if someone might be able to shed some light for me on this I have tried everything
    Here is the row template
    <table width="100%"  border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
       <tr  class="Tabledetail">
          <td class="SectionHeading" width="100%" bgcolor="#336699" valign="middle">
             <img src="spacer.gif" width="1" height="1">  <b>#1#</b> 
          </td>
       </tr>
       <tr class="Tabledetail">
          <td>
             <table width="100%"  border="0" cellspacing="1" cellpadding="1" bgcolor=white>
                <tr class="Tabledetail">
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td class=formlabel>
                      #2#
                   </td>
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
                      <b>Evaluation Trips</b> 
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
                      <b>All Other Trips</b> 
                   </td>
                </tr>
                <tr class="Tabledetail">
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td  class=formlabel>
                      #3#
                   </td>
                   <td  align=right class=formlabel>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td align=right class=formlabel>
                      #4#
                   </td>
                   <td align=right class=formlabel>
                      #5#
                   </td>
                   <td align=right class=formlabel>
                      #6#
                   </td>
                   <td align=right class=formlabel>
                      #7#
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td align=right class=formlabel>
                      #4#
                   </td>
                   <td align=right class=formlabel>
                      #5#
                   </td>
                   <td align=right class=formlabel>
                      #6#
                   </td>
                   <td align=right class=formlabel>
                      #7#
                   </td>
                </tr>
                <tr class="Tabledetail" width=50%>
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td  class=formlabel>
                      #8#
                   </td>
                   <td class=formlabel>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td align=right>
                      #9#
                   </td>
                   <td  align=right>
                      #10#
                   </td>
                   <td align=right >
                      #11#
                   </td>
                   <td align=right >
                      #12#
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td align=right >
                      #13#
                   </td>
                   <td align=right >
                      #14#
                   </td>
                   <td align=right >
                      #15#
                   </td>
                   <td align=right >
                      #16#
                   </td>
                </tr>
             </table>
          </td>
       </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td><img src="spacer.gif" width="1" height="10"> </td>
    </tr>
    <tr>
    <td>Here is the before rows
    <table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
      #TOP_PAGINATION#
      <tr>
        <td>
          <table cellpadding="0" border="0" cellspacing="0" summary="" class="report-standard">Here is the after rows
            </table>
        </td>
      </tr>
      #PAGINATION#
    </table>But when I try and pull the upper level html tables out of the row template the format goes to heck. Anyone have any ideas?
    Thanks in advance!

    goochable wrote:
    Thanks for the input! Yeah it is based on a query from a collection as all this data is summations that i am pre-populating.
    Yes this html is probably from 1998 or 1999 I think they told me actually lol
    So there is no way to accomplish what I am trying to do then?
    There is no way I could use a break on first column and modify the header info to get the same sort of look and feel?Still not really clear what you are trying to accomplish, and in my view there are so many problems with the "look and feel" that it's not worth perpetuating.
    Making a lot of assumptions, I've come up with the kind of HTML structure I'd use when marking up this kind of data. I added a page 2 to your example on apex.oracle.com, showing a basic presentation of this structure alongside the original for comparison, and another styled using the default theme L&F.
    <li>Given the requirement to use multi-level headers (and because I prefer to have total control over the HTML), I stayed with a custom report template rather than trying to utilise column breaking with a generic column report template. This also permits use of more advanced table structures than can be supported by standard templates, such as s<tt>colgroup</tt>s to organize the table columns as well as the rows:
    Before Rows
      <table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
      #TOP_PAGINATION#
      <tr>
        <td>
          <table class="fish">
            <caption>Some fishy summaries</caption>
            <colgroup span="1"></colgroup>
            <colgroup span="4" class="evaluation-trips" align="right"></colgroup>
            <colgroup span="4" class="other-trips" align="right"></colgroup>
    After Rows
          </table>
        </td>
      </tr>
      #PAGINATION#
    </table><li>Rather than separate tables, the report is contained in one HTML table, utilizing the <tt>tbody</tt> element to subdivide this into separate row groups to meet the "break on first column" requirement. This is achieved using conditional row templates, with PL/SQL Expressions based on the values of metadata columns added to the query:
    Row Template 1
    Header rows and first data row for each row group. <tt>scope</tt> attributes are added to multi-column headers for improved accessibility:
      <tbody>
        <tr>
          <th colspan="9" scope="rowgroup">#C1#</th>
        </tr>
        <tr>
          <th></th>
          <th colspan="4" scope="colgroup">Evaluation Trips</th>
          <th colspan="4" scope="colgroup">All Other Trips</th>
        </tr>
        <tr>
          <th>#C2#</th>
          <th>#C4#</th>
          <th>#C5#</th>
          <th>#C6#</th>
          <th>#C7#</th>
          <th>#C4#</th>
          <th>#C5#</th>
          <th>#C6#</th>
          <th>#C7#</th>
        </tr>
        <tr class="#ALT#">
          <td class="desc">#C8#</td>
          <td>#C9#</td>
          <td>#C10#</td>
          <td>#C11#</td>
          <td>#C12#</td>
          <td>#C13#</td>
          <td>#C14#</td>
          <td>#C15#</td>
          <td>#C16#</td>
        </tr>
      #CLOSE_ROW_GROUP#
    Row Template 1 Expression
    This template is used when the row metadata shows that the current row is in a different row group from the previous row:
    #ROW_GROUP# != #PREVIOUS_ROW_GROUP#
    Row Template 2
    This is the "default" template, used for any subsequent data rows in the row group:
        <tr class="#ALT#">
          <td class="desc">#C8#</td>
          <td>#C9#</td>
          <td>#C10#</td>
          <td>#C11#</td>
          <td>#C12#</td>
          <td>#C13#</td>
          <td>#C14#</td>
          <td>#C15#</td>
          <td>#C16#</td>
        </tr>
      #CLOSE_ROW_GROUP#Both templates make use of a <tt>#CLOSE_ROW_GROUP#</tt> column value conditionally generated in the query that returns a <tt>&lt;/tbody&gt;</tt> tag if the current row is the last data row in the row group. (Mixing logic and structure in this way is not good practice, but APEX only allows up to 4 conditional row templates, which is completely insufficient for any moderately complex structure.)
    <li>Several metadata columns (incorporating heavy use of analytic functions) are added to the report query for use in the report template or CSS presentation:
    with fish as (
          select
                    c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16
                      Generate a fixed order for separate report sections/row groups.
                      (This is a guess as the actual requirement is not specified.)
                  , case c1
                      when 'OTC Summary' then 1
                      when 'Retained Catch Summary' then 2
                      when 'Discarded Catch Summary' then 3
                      when 'Discarded Species Composition Summary' then 4
                      when 'Retained Species Composition Summary' then 5
                      when 'Priority Species Biospecimen Summary - Discarded Catch' then 6
                      when 'Other Species Biospecimen Summary - Discarded Catch' then 7
                      when 'Dissection Summary - Discarded Catch' then 8
                    end row_group
                      Calculate row number within row group.
                      Copes with row order in some row groups being determined
                      numerically, while others used standard character semantics.
                  , row_number()
                      over (
                        partition by  c1
                        order by      to_number(regexp_replace(c8, '[^[:digit:]]')) nulls last
                                    , c8) group_rn
                      Calculate number of rows in row group.
                  , count(*)
                      over (
                        partition by c1) group_rows
          from
                  test)
    select
              c1
                Not clear on meaning of "Weight"/"Method" values: assumed this is
                column heading equivalent to "Species".
                Combine both source DB columns into one for HTML heading, dealing
                with various null/space/blank issues...
            , nullif(c2 || ' ', '  ') || c3 c2
            , ' ' c3
            , c4
            , c5
            , c6
            , c7
            , c8
            , c9
            , c10
            , c11
            , c12
            , c13
            , c14
            , c15
            , c16
            , row_group
                Get the rowgroup for the previous row
            , lag(row_group, 1, 0)
                over (
                  order by row_group) previous_row_group
            , group_rn
            , group_rows
                Determine odd/even row number: used for standard or alternate style.
            , mod(group_rn, 2) alt
                Generate a closing element if the row is the last row in the
                row group.
            , case
                when group_rn = group_rows
                then
                  '</tbody>'
                else
              end close_row_group
    from
              fish
    order by
               row_group
             , group_rnThis makes major assumptions about the sort order(s) and break(s) required in the report.
    <li>Finally, the visual presentation is applied using CSS rather than (mainly deprecated) HTML attributes, via an embedded style sheet in the page HTML Header:
    <style type="text/css">
    .fish {
      empty-cells: show;
      border-collapse: collapse;
    .fish tbody tr:first-child th {
      border-top: 1px solid #fff;
      font-weight: bold;
    .fish th,
    .fish td {
      padding: 3px 6px;
    .fish th {
      border-bottom: 1px solid #fff;
      border-left: 1px solid #fff;
      background-color: #275096;
      color: #fff;
      font-weight: 300;
      text-align: left;
    .fish td {
      text-align: right;
      .fish tr.\30  td {
        background-color: #dde;
      .fish td:first-child {
        text-align: left;
    </style>The default theme L&F report adds vertical borders to separate columns and column groups (latter may not be fully effective on IE: I'm not wasting my time on quirks mode fixes for that).
    The resulting report uses 60% less vertical space, and 87% less HTML code[1] than the original. Usability and accessibility are improved by eliminating nested tables and useless table cells and shim images, increasing the contrast between text and background colours, and using alternating row backgrounds for better visual tracking.
    [1] Including whitespace, but neither template is compressed in any way: both are in fully readale format including normal whitespace indentation.

  • How to create a report template

    Hello
    Could anybody give the information/steps for creating a report template.
    Thanks.

    Hi
    I have created report templates that are now being used in our shop.
    Help in report developer was good beginning to learn this.
    Best thing that I found after struggling for a while, is to take an existinf template file(like rwblue, rwgreen etc) that gets shipped with report devloper and to customize to to your specific needs. This way your job gets reduced quite a bit.
    You can open the existing template file(.tdf) in template editor (they are located ora_home\reports\tempate directory. Make the required changes and save it with a diff name. You can add the same to the list of default templates, The steps involved for this is explained pretty well in report developert help/manual.
    Please note: This requires some advanced skill in the report devloeper tool. You can not expect a newbie to this job....
    You can also visit www.dulcian.com and look under report developer tool for additioanl info on report templates, I think they have a good presentation by paul dorsey et. al on this topic.
    good luck!
    -Suma

  • Calling the CSV Export link in a Report Template

    I'm trying to have our "download" link appear on the bottom left rather then the default which is to the far right in Look 4.
    When I look at the source code, I can see how look 3 and 4 differ - different HTML table set-up and "align=right" for the link.
    Unfortunately, looking at the source gives me the direct source for that specific report file not the command to include the csv export file, so I can't include it in a new report template design.
    Is there code I can use to include a CSV link in my report template?
    If not, how can I place the report download/csv export into my Nav bar region, or some other region?

    Michelle,
    Typically you'll find the substitution strings documented in the popup help when clicking on the item label. But this one doesn't seem to be listed there. It's documented in the online help though. Click in the help icon in the upper right corner of your page and search for CSV.
    Marc

Maybe you are looking for